From b4cae40854ab3cd89f39a3d353f83cf1efe61af6 Mon Sep 17 00:00:00 2001 From: Paul Rodwell Date: Thu, 11 May 2017 19:58:32 +0100 Subject: [PATCH] add link to google documentation --- server/social.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/server/social.coffee b/server/social.coffee index 25b7593..25a77a8 100644 --- a/server/social.coffee +++ b/server/social.coffee @@ -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'}))