-
-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FacebookStrategy function is not working #269
Comments
Where are you executing passport.authenticate from? Do you have it executing as a handler similar to this?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI, everyone my function is not getting executing in facebbokstrategy like
passport.use(new FacebookStrategy({ clientID: app.facebookAuth.clientID, clientSecret: app.facebookAuth.clientSecret, callbackURL: app.facebookAuth.callbackURL, profileFields: ['id', 'displayName','email'], enableProof: true }, function(accessToken, refreshToken, profile, done) { console.log('profile ===', profile); // **this line not print** }
channel = 'facebook'
passport.authenticate(channel, { scope : ['email'] }, function(err, user, info) {});
The text was updated successfully, but these errors were encountered: