Usage
auth: {
strategies: {
facebook: {
endpoints: {
userInfo: 'https://graph.facebook.com/v6.0/me?fields=id,name,picture{url}'
},
clientId: '...',
scope: ['public_profile', 'email']
},
}
}
Anywhere in your application logic:
this.$auth.loginWith('facebook')
💁 This provider is based on oauth2 scheme and supports all scheme options.
clientId
Obtaining This option is REQUIRED. To obtain one, create your app in Facebook Developers and add "Facebook Login" product. Then set valid callback URLs. Client ID is same as your "App ID".