diff --git a/src/pages/api/auth/[...nextauth].ts b/src/pages/api/auth/[...nextauth].ts index 6611b98..beb4f43 100644 --- a/src/pages/api/auth/[...nextauth].ts +++ b/src/pages/api/auth/[...nextauth].ts @@ -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 || "", }), ], }