From 37b5cac5d4ebbebbaee8d37bfe16a50129ba1b5a Mon Sep 17 00:00:00 2001 From: hizaidii <90659514+hizaidii@users.noreply.github.com> Date: Wed, 14 Feb 2024 03:20:42 +0530 Subject: [PATCH] Update passport.js --- utilities/passport.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/passport.js b/utilities/passport.js index 1870b94..96c2518 100644 --- a/utilities/passport.js +++ b/utilities/passport.js @@ -30,7 +30,7 @@ passport.use( { clientID: process.env.FB_ID, clientSecret: process.env.FB_SECRET, - callbackURL: "http://localhost:4444/auth/facebook/callback", + callbackURL: "https://kan-do-rose.vercel.app/auth/facebook/callback", }, async function (accessToken, refreshToken, profile, cb) { console.log("Facebook Profile:", profile); @@ -68,7 +68,7 @@ passport.use( { clientID: process.env.Google_ClientID, clientSecret: process.env.Google_SecretID, - callbackURL: "http://localhost:4444/auth/google/callback", + callbackURL: "https://kan-do-rose.vercel.app/auth/google/callback", }, async function (accessToken, refreshToken, profile, cb) { // console.log(accessToken);