Skip to content

Commit

Permalink
backport google profile url (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonwinton authored Jan 31, 2019
1 parent f9b383f commit fbd9057
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ function createGoogleStrategy(site) {
clientID: process.env.GOOGLE_CONSUMER_KEY,
clientSecret: process.env.GOOGLE_CONSUMER_SECRET,
callbackURL: getCallbackUrl(site, 'google'),
passReqToCallback: true
passReqToCallback: true,
userProfileURL: process.env.GOOGLE_PROFILE_URL
},
verify({
username: 'emails[0].value',
Expand Down

0 comments on commit fbd9057

Please sign in to comment.