passport.authenticate(STRATEGY, {})(req, res, next); }); passport.authenticate(STRATEGY, { failureRedirect: "/", failureFlash: true
state: req.query.redirect || externalAuthHome }; passport.authenticate("google", options)(req, res, next); }); next: express.NextFunction ) => { passport.authenticate("google", { failWithError: true })(req, res, next);
next: express.NextFunction ) => { passport.authenticate("magda-internal", { failWithError: true })(req, res, next);
next: express.NextFunction ) => { passport.authenticate("aaf-custom", { failWithError: true })(req, res, next);
state: req.query.redirect || externalAuthHome }; passport.authenticate("arcgis", options)(req, res, next); }); next: express.NextFunction ) => { passport.authenticate("arcgis", { failWithError: true })(req, res, next);
next: express.NextFunction ) => { passport.authenticate("ckan-local", { failWithError: true })(req, res, next);
)}` }; passport.authenticate("facebook", options)(req, res, next); }); failWithError: true }; passport.authenticate("facebook", options)(req, res, next); },