GitHub

Source Code

Usage

auth: {
  strategies: {
    github: {
      clientId: '...',
      clientSecret: '...'
    },
  }
}

Anywhere in your application logic:

this.$auth.loginWith('github')

💁 This provider is based on oauth2 scheme and supports all scheme options.

Obtaining clientId and clientSecret

This option is REQUIRED. To obtain one, create your app in Create a new Oauth APP and use provided "Client ID" and "Client Secret".

Edit this page on GitHub Updated at Thu, Oct 5, 2023