Skip to content

Instantly share code, notes, and snippets.

@fluffywaffles
Created August 24, 2015 04:48
Show Gist options
  • Save fluffywaffles/14c49a328f8e6fc68788 to your computer and use it in GitHub Desktop.
Save fluffywaffles/14c49a328f8e6fc68788 to your computer and use it in GitHub Desktop.
router.post('/signup', function (req, res, next) {
passport.authenticate('whatever', function () {
console.log('passport custom callback!');
console.log(arguments);
res.send();
})(req, res, next)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment