We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de0acbb + cda878d commit d1b2fb2Copy full SHA for d1b2fb2
lib/web/auth/google/index.js
@@ -11,7 +11,8 @@ let googleAuth = module.exports = Router()
11
passport.use(new GoogleStrategy({
12
clientID: config.google.clientID,
13
clientSecret: config.google.clientSecret,
14
- callbackURL: config.serverURL + '/auth/google/callback'
+ callbackURL: config.serverURL + '/auth/google/callback',
15
+ userProfileURL: "https://www.googleapis.com/oauth2/v3/userinfo"
16
}, passportGeneralCallback))
17
18
googleAuth.get('/auth/google', function (req, res, next) {
0 commit comments