Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungJL committed Dec 6, 2024
1 parent b00b222 commit 782920f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ const generateClientSecret = (): string => {
export const authOptions: NextAuthOptions = {
secret,
debug: true,
cookies: {
pkceCodeVerifier: {
name: "next-auth.pkce.code_verifier",
options: {
httpOnly: true,
sameSite: "none",
path: "/",
secure: true,
},
},
},
providers: [
CredentialsProvider({
id: "guest",
Expand Down

0 comments on commit 782920f

Please sign in to comment.