Facebook Provider

Source Code

Usage

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 oauth2 scheme and supports all scheme options.

Obtaining client_id

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".

results matching ""

    No results matching ""