We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
Where are you executing passport.authenticate from? Do you have it executing as a handler similar to this?
app.get('/login', passport.authenticate(channel, { scope : ['email'] }, function(err, user, info) {}));
Sorry, something went wrong.
No branches or pull requests
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: