Last updated 5 years ago
auth: { strategies: { facebook: { client_id: '...', userinfo_endpoint: 'https://graph.facebook.com/v2.12/me?fields=about,name,picture{url},email,birthday', scope: ['public_profile', 'email', 'user_birthday'] }, } }
Anywhere in your application logic:
this.$auth.loginWith('facebook')
💁 This provider is based on and supports all scheme options.
client_id
This option is REQUIRED. To obtain one, create your app in and add "Facebook Login" product. Then set valid callback URLs. Client ID is same as your "App ID".