Skip to content

Commit

Permalink
Update passport.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hizaidii committed Feb 13, 2024
1 parent 5efabc3 commit 37b5cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utilities/passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 37b5cac

Please sign in to comment.