Google

Last updated 18 hours ago

Source Code

Usage

auth: {
strategies: {
google: {
client_id: '...'
},
}
}

Anywhere in your application logic:

this.$auth.loginWith('google')

💁 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 Google API Console, Create a new project and from Credentials tab, create a new "Oauth Client ID".