Skip to content

Commit

Permalink
change env var names
Browse files Browse the repository at this point in the history
  • Loading branch information
nikos-koukis committed Oct 4, 2023
1 parent c2f8400 commit 224f714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import GoogleProvider from "next-auth/providers/google"
export const authOptions = {
providers: [
GoogleProvider({
clientId: process.env.GOOGLE_CLIENT_ID || "",
clientSecret: process.env.GOOGLE_CLIENT_SECRET || "",
clientId: process.env.NEXT_PUBLIC_GOOGLE_CLIENT_SECRET || "",
clientSecret: process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID || "",
}),
],
}
Expand Down

0 comments on commit 224f714

Please sign in to comment.