Skip to content

Commit

Permalink
updating amphora to pass in userProfileURL property (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonwinton authored Jan 31, 2019
1 parent a411345 commit a156b6c
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 @@ -221,7 +221,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 a156b6c

Please sign in to comment.