Open wzup opened 7 years ago
Hello Wzup,
you have to request the information in your strategy:
Example:
passport.use(new FacebookStrategy({
clientID: config.facebook.clientID,
clientSecret: config.facebook.clientSecret,
callbackURL: config.facebook.callbackURL,
profileFields: ['id', 'displayName', 'first_name', 'middle_name', 'last_name','email', 'photos', 'hometown']
},
function(req, accessToken, refreshToken, profile, done) {
Best regards
I ask for additional permissions, but the plugin doesn't return them. Although login flow asks them. Why it doesn't work as claimed ? How do I make it work?
This is what the plugin returns. No any requested permissions. Just a name and id: