fix: authjs config
This commit is contained in:
@@ -14,7 +14,7 @@ CYPRESS_BASE_URL="http://localhost:3000"
|
|||||||
DESIGN_SYSTEM_ACCESS_TOKEN=""
|
DESIGN_SYSTEM_ACCESS_TOKEN=""
|
||||||
NEXTAUTH_REDIRECT_PROXY_URL="http://localhost:3000/api/web/auth"
|
NEXTAUTH_REDIRECT_PROXY_URL="http://localhost:3000/api/web/auth"
|
||||||
NEXTAUTH_SECRET=""
|
NEXTAUTH_SECRET=""
|
||||||
NEXTAUTH_URL="http://localhost:3000/api/web/auth"
|
NEXTAUTH_URL="http://localhost:3000/"
|
||||||
REVALIDATE_SECRET=""
|
REVALIDATE_SECRET=""
|
||||||
SEAMLESS_LOGIN_DA="http://www.example.dk/updatelogin"
|
SEAMLESS_LOGIN_DA="http://www.example.dk/updatelogin"
|
||||||
SEAMLESS_LOGIN_DE="http://www.example.de/updatelogin"
|
SEAMLESS_LOGIN_DE="http://www.example.de/updatelogin"
|
||||||
|
|||||||
1
auth.ts
1
auth.ts
@@ -49,7 +49,6 @@ export const config = {
|
|||||||
providers: [customProvider],
|
providers: [customProvider],
|
||||||
redirectProxyUrl: env.NEXTAUTH_REDIRECT_PROXY_URL,
|
redirectProxyUrl: env.NEXTAUTH_REDIRECT_PROXY_URL,
|
||||||
trustHost: true,
|
trustHost: true,
|
||||||
|
|
||||||
session: {
|
session: {
|
||||||
strategy: "jwt",
|
strategy: "jwt",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user