title: Passport Facebook Always Redirect
body: <p>First of all I'd like to thank every people who would read my post<br />
  <br />
  Here the problem : <br />
  I use passport facebook auth from jaredhanson but once I finally managed to login and now each time I go to /auth/facebook (even on my smartphone) it always redirect to /auth/facebook/callback?code=XYC... whereas it should redirect to the Facebook login page each time..<br />
  Here is my code : </p>
  
  <pre><code>passport.use(new FacebookStrategy(
    {
      clientID: config.facebook.oauth.clientId,
      clientSecret: config.facebook.oauth.clientSecret,
      callbackURL: config.facebook.oauth.callbackURL,
      profileFields: config.facebook.oauth.profileFields,
    },
    ((accessToken, refreshToken, profile, done) =&gt; {
      User.findOrCreateFacebook(profile, (err, user) =&gt; {
        return done(err, user);
      });
    }),
  ));
  router.get('', passport.authenticate('facebook'));
  router.get(
    '/callback',
    passport.authenticate('facebook', {
      failureRedirect: '/facebook',
    }), (req, res) =&gt; {
      const profile = {
        id: req.user._id, //eslint-disable-line
        firstname: req.user.FName,
        lastname: req.user.LName,
        email: req.user.email,
        profilPic: req.user.photoProfil,
      };
      return res.status(200).json({
        success: true,
        token: signToken(profile),
      });
    },
  );
  UserSchema.statics.findOrCreateFacebook = function findOrCreateFacebook(profile, callback) {
    const user = new this();
    this.findOne({ facebookId: profile.id }, (err, result) =&gt; {
      // Be careful of the case duplicate mail
      if (!result) {
        user.email = profile._json.email;
        user.facebookId = profile._json.id;
        user.LName = profile._json.last_name;
        user.gender = profile._json.gender;
        user.FName = profile._json.first_name;
        user.photoProfil = profile.photos.length &gt; 0 ? profile.photos[0].value : null;
        user.password = 'facebook'; // useless thing..
        user.save((error) =&gt; {
          callback(error, user);
        });
      } else {
        callback(err, result);
      }
    });
  };
    passport.serializeUser((user, done) =&gt; {
      done(null, user);
    });
    passport.deserializeUser((user, done) =&gt; {
      done(null, user);
    });
    app.use(passport.initialize());
    app.use(passport.session());
  </code></pre>
  
  <p>Honestly i'm getting crazy :(</p>