diff --git a/.env.local.example b/.env.local.example index 9345303b2..7060fdc66 100644 --- a/.env.local.example +++ b/.env.local.example @@ -14,7 +14,7 @@ CYPRESS_BASE_URL="http://localhost:3000" DESIGN_SYSTEM_ACCESS_TOKEN="" NEXTAUTH_REDIRECT_PROXY_URL="http://localhost:3000/api/web/auth" NEXTAUTH_SECRET="" -NEXTAUTH_URL="http://localhost:3000/api/web/auth" +NEXTAUTH_URL="http://localhost:3000/" REVALIDATE_SECRET="" SEAMLESS_LOGIN_DA="http://www.example.dk/updatelogin" SEAMLESS_LOGIN_DE="http://www.example.de/updatelogin" diff --git a/auth.ts b/auth.ts index 52456236c..e1dcdd88c 100644 --- a/auth.ts +++ b/auth.ts @@ -49,7 +49,6 @@ export const config = { providers: [customProvider], redirectProxyUrl: env.NEXTAUTH_REDIRECT_PROXY_URL, trustHost: true, - session: { strategy: "jwt", },