Skip to content

Commit

Permalink
fix auth
Browse files Browse the repository at this point in the history
  • Loading branch information
dopic committed Oct 22, 2024
1 parent b9116ae commit 1ea9c9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/app/api/auth/[...nextauth]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const authOptions: NextAuthOptions = {
clientSecret: process.env.GOOGLE_CLIENT_SECRET!,
authorization: {
params: {
prompt: "select_account",
prompt: "consent",
access_type: "offline",
response_type: "code"
},
},
}),
Expand Down

0 comments on commit 1ea9c9b

Please sign in to comment.