Merge pull request #12 from fedwiki/paul90/google-selector
Paul90/google selector
This commit is contained in:
commit
b960448e67
|
@ -288,8 +288,9 @@ 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, { successRedirect: '/auth/loginDone', failureRedirect: '/auth/loginDialog'}))
|
||||
passport.authenticate(googleStrategyName, { prompt: 'select_account', successRedirect: '/auth/loginDone', failureRedirect: '/auth/loginDialog'}))
|
||||
|
||||
# Persona
|
||||
app.post('/auth/browserid',
|
||||
|
|
Loading…
Reference in New Issue