Skip to content

Commit

Permalink
Profile fields by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Sep 30, 2015
1 parent fdcf9cd commit 36d8370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 36d8370

Please sign in to comment.