Skip to content

Commit

Permalink
Removed custom cookie settings
Browse files Browse the repository at this point in the history
  • Loading branch information
atrincas authored and Andrés González committed Nov 20, 2024
1 parent a26f421 commit a1791e8
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions client/src/app/auth/api/[...nextauth]/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ declare module "next-auth/jwt" {
}
}

const PROJECT_NAME = "tnc-blue-carbon";

export const config = {
providers: [
Credentials({
Expand Down Expand Up @@ -83,22 +81,6 @@ export const config = {
};
},
},
cookies: {
sessionToken: {
name: `next-auth.session-token.${PROJECT_NAME}`,
options: {
secure: process.env.NODE_ENV === "production",
sameSite: "lax",
path: "/",
},
},
callbackUrl: {
name: `next-auth.callback-url.${PROJECT_NAME}`,
},
csrfToken: {
name: `next-auth.csrf-token.${PROJECT_NAME}`,
},
},
pages: {
signIn: "/auth/signin",
signOut: "/",
Expand Down

0 comments on commit a1791e8

Please sign in to comment.