added prompt to passport input for Google SSO

v1.18.x
Julian Lam
parent 9cfa1bb976
commit d0f08b4dd4

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

Loading…
Cancel
Save