add link to google documentation

This commit is contained in:
Paul Rodwell 2017-05-11 19:58:32 +01:00
parent bfa9a5ee58
commit b4cae40854
1 changed files with 1 additions and 0 deletions

View File

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