add link to google documentation
This commit is contained in:
parent
bfa9a5ee58
commit
b4cae40854
@ -288,6 +288,7 @@ module.exports = exports = (log, loga, argv) ->
|
|||||||
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'
|
'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',
|
app.get('/auth/google/callback',
|
||||||
passport.authenticate(googleStrategyName, { prompt: 'select_account', successRedirect: '/auth/loginDone', failureRedirect: '/auth/loginDialog'}))
|
passport.authenticate(googleStrategyName, { prompt: 'select_account', successRedirect: '/auth/loginDone', failureRedirect: '/auth/loginDialog'}))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user