added prompt to passport input for Google SSO

This commit is contained in:
Julian Lam
2016-04-18 16:04:09 -04:00
parent 9cfa1bb976
commit d0f08b4dd4

View File

@@ -52,7 +52,8 @@
loginStrategies.forEach(function(strategy) {
if (strategy.url) {
router.get(strategy.url, passport.authenticate(strategy.name, {
scope: strategy.scope
scope: strategy.scope,
prompt: strategy.prompt || undefined
}));
}