From 224f7146a4a6717fe1e1431ff6eebf1aa8f13e2c Mon Sep 17 00:00:00 2001 From: Nick Koukis Date: Wed, 4 Oct 2023 18:26:51 +0300 Subject: [PATCH] change env var names --- src/pages/api/auth/[...nextauth].ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 || "", }), ], }