Created
          August 24, 2015 04:48 
        
      - 
      
- 
        Save fluffywaffles/14c49a328f8e6fc68788 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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