Skip to content

Commit 172e9e8

Browse files
committed
Added multiple scopes to facebook example
1 parent 7c0edbd commit 172e9e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/views/Authentication/Demos/Providers.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ const supportedProviders = OAuthManager.providers();
1717

1818
const opts = {
1919
google: {scopes: 'email,profile'},
20-
facebook: {},
20+
facebook: {
21+
scopes: 'user_friends,email'
22+
},
2123
twitter: {},
2224
github: {
2325
scopes: 'notifications,profile'

0 commit comments

Comments
 (0)