Scheduling infrastructure for absolutely everyone.
Removed deprecated JWT secrets (#2574)
Omar Lópezf10bf382924a
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 9ce93de3a49..34d45183b4f 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -19,7 +19,6 @@ jobs:DATABASE_URL: postgresql://postgres:@localhost:5432/calendsoNEXT_PUBLIC_WEBAPP_URL: http://localhost:3000NEXT_PUBLIC_WEBSITE_URL: http://localhost:3000- JWT_SECRET: secret # TODO: remove once PR#2122 is mergedNEXTAUTH_SECRET: secretGOOGLE_API_CREDENTIALS: ${{ secrets.CI_GOOGLE_API_CREDENTIALS }}GOOGLE_LOGIN_ENABLED: truediff --git a/apps/web/pages/api/auth/[...nextauth].tsx b/apps/web/pages/api/auth/[...nextauth].tsxindex 2831fff45df..84792c71096 100644--- a/apps/web/pages/api/auth/[...nextauth].tsx+++ b/apps/web/pages/api/auth/[...nextauth].tsx@@ -188,10 +188,6 @@ export default NextAuth({session: {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://")),pages: {signIn: "/auth/login",