Github

Last updated 19 hours ago

Source Code

Usage

auth: {
strategies: {
github: {
client_id: '...',
client_secret: '...'
},
}
}

Anywhere in your application logic:

this.$auth.loginWith('github')

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

Obtaining client_id and client_secret

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