diff --git a/src/index.js b/src/index.js index 3bf3420..e024dcf 100644 --- a/src/index.js +++ b/src/index.js @@ -52,7 +52,7 @@ export default class FacebookTokenStrategy extends OAuth2Strategy { this._profileURL = options.profileURL || 'https://graph.facebook.com/v2.4/me'; this._clientSecret = options.clientSecret; this._enableProof = options.enableProof; - this._profileFields = options.profileFields || null; + this._profileFields = options.profileFields || ['id', 'username', 'name', 'emails']; this._oauth2._useAuthorizationHeaderForGET = false; }