replace the now defunct google plus profile scope

This commit is contained in:
Paul Rodwell 2020-02-05 15:00:33 +00:00
parent 672b774c42
commit 63960dba88
No known key found for this signature in database
GPG Key ID: 083BA337597C49E6
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ module.exports = exports = (log, loga, argv) ->
# Google
app.get('/auth/google', passport.authenticate(googleStrategyName, { scope: [
'https://www.googleapis.com/auth/plus.profile.emails.read'
'profile', 'email'
]}))
# see https://developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters for details of prompt...
app.get('/auth/google/callback',