Passport-facebook access req object from within callback function

Viewed 4637

On the callback from Facebook for nodejs passport authentication, how do you get the req object within the callback?

passport.use(new FacebookStrategy({
    clientID: 123456789,
    clientSecret: 'SECRET',
    callbackURL: "http://example.com/login/facebook/callback"
  },
  function(accessToken, refreshToken, profile, done){
    // Is there any way to get the req object in here?
  }
));
2 Answers
Related