replace the now defunct google plus profile scope
This commit is contained in:
@ -287,7 +287,7 @@ module.exports = exports = (log, loga, argv) ->
|
|||||||
|
|
||||||
# Google
|
# Google
|
||||||
app.get('/auth/google', passport.authenticate(googleStrategyName, { scope: [
|
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...
|
# see https://developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters for details of prompt...
|
||||||
app.get('/auth/google/callback',
|
app.get('/auth/google/callback',
|
||||||
|
Reference in New Issue
Block a user