Skip to content

Commit

Permalink
Change callbackURL to localhost for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
js0mmer committed May 5, 2023
1 parent 819b209 commit 214f8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/config/passport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ passport.use(
{
clientID: process.env.GOOGLE_CLIENT,
clientSecret: process.env.GOOGLE_SECRET,
callbackURL: process.env.PRODUCTION_DOMAIN + '/api/users/auth/google/callback',
callbackURL: 'http://localhost:3000/api/users/auth/google/callback',
},
function (accessToken, refreshToken, profile, done) {
let email = '';
Expand Down

0 comments on commit 214f8ec

Please sign in to comment.