Skip to content

Commit

Permalink
Merge bb53d07 into 6f3e986
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanosman committed Feb 24, 2015
2 parents 6f3e986 + bb53d07 commit 7c806e7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -70,6 +70,13 @@ checkins:
app.get('/auth/facebook',
passport.authenticate('facebook', { scope: ['user_status', 'user_checkins'] }));

#### Re-asking for Declined Permissions

Refer to Facebook's [docs](https://developers.facebook.com/docs/facebook-login/login-flow-for-web#re-asking-declined-permissions)

app.get('/auth/facebook',
passport.authenticate('facebook', { authType: 'rerequest', scope: ['user_status', 'user_checkins'] }));

#### Display Mode

The display mode with which to render the authorization dialog can be set by
Expand All @@ -79,6 +86,13 @@ documentation for more information.
app.get('/auth/facebook',
passport.authenticate('facebook', { display: 'touch' }));

#### Re-authentication

Refer to Facebook's [Re-authentication](https://developers.facebook.com/docs/facebook-login/reauthentication)

app.get('/auth/facebook',
passport.authenticate('facebook', { authType: 'reauthenticate', authNonce: 'foo123' }));

#### Profile Fields

The Facebook profile is very rich, and may contain a lot of information. The
Expand Down

0 comments on commit 7c806e7

Please sign in to comment.