passport.use(new TwitterStrategy({ consumerKey: TWITTER_APP_ID, consumerSecret: TWITTER_APP_SECRET, callbackURL: "http://127.0.0.1:3000/auth/twitter/callback" }, function(token, tokenSecret, profile, cb) { userProfile=profile; return cb(null, profile); } ));