Skip to content

Commit

Permalink
Merge pull request #1163 from SISheogorath/fix/googleAuth
Browse files Browse the repository at this point in the history
Add required change for Google+ API deprecation
  • Loading branch information
SISheogorath committed Mar 9, 2019
2 parents de0acbb + cda878d commit d1b2fb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/web/auth/google/index.js
Expand Up @@ -11,7 +11,8 @@ let googleAuth = module.exports = Router()
passport.use(new GoogleStrategy({
clientID: config.google.clientID,
clientSecret: config.google.clientSecret,
callbackURL: config.serverURL + '/auth/google/callback'
callbackURL: config.serverURL + '/auth/google/callback',
userProfileURL: "https://www.googleapis.com/oauth2/v3/userinfo"
}, passportGeneralCallback))

googleAuth.get('/auth/google', function (req, res, next) {
Expand Down

0 comments on commit d1b2fb2

Please sign in to comment.