Removed deprecated JWT secrets (#2574)
This commit is contained in:
parent
02f68b104b
commit
f10bf38292
2 changed files with 0 additions and 5 deletions
1
.github/workflows/e2e.yml
vendored
1
.github/workflows/e2e.yml
vendored
|
@ -19,7 +19,6 @@ jobs:
|
||||||
DATABASE_URL: postgresql://postgres:@localhost:5432/calendso
|
DATABASE_URL: postgresql://postgres:@localhost:5432/calendso
|
||||||
NEXT_PUBLIC_WEBAPP_URL: http://localhost:3000
|
NEXT_PUBLIC_WEBAPP_URL: http://localhost:3000
|
||||||
NEXT_PUBLIC_WEBSITE_URL: http://localhost:3000
|
NEXT_PUBLIC_WEBSITE_URL: http://localhost:3000
|
||||||
JWT_SECRET: secret # TODO: remove once PR#2122 is merged
|
|
||||||
NEXTAUTH_SECRET: secret
|
NEXTAUTH_SECRET: secret
|
||||||
GOOGLE_API_CREDENTIALS: ${{ secrets.CI_GOOGLE_API_CREDENTIALS }}
|
GOOGLE_API_CREDENTIALS: ${{ secrets.CI_GOOGLE_API_CREDENTIALS }}
|
||||||
GOOGLE_LOGIN_ENABLED: true
|
GOOGLE_LOGIN_ENABLED: true
|
||||||
|
|
|
@ -188,10 +188,6 @@ export default NextAuth({
|
||||||
session: {
|
session: {
|
||||||
strategy: "jwt",
|
strategy: "jwt",
|
||||||
},
|
},
|
||||||
/** @deprecated remove once PR#2122 is merged */
|
|
||||||
jwt: {
|
|
||||||
secret: process.env.JWT_SECRET || process.env.NEXTAUTH_SECRET,
|
|
||||||
},
|
|
||||||
cookies: defaultCookies(WEBSITE_URL?.startsWith("https://")),
|
cookies: defaultCookies(WEBSITE_URL?.startsWith("https://")),
|
||||||
pages: {
|
pages: {
|
||||||
signIn: "/auth/login",
|
signIn: "/auth/login",
|
||||||
|
|
Loading…
Reference in a new issue