From 7d0e58a7fe299e7ad0a62af3e28b5b62d8f93a23 Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Wed, 17 Apr 2024 17:16:27 +0200 Subject: [PATCH] fix: authjs config --- .env.local.example | 2 +- auth.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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", },