Laravel Passport

Last updated 18 hours ago

Source Code

Usage

auth: {
strategies: {
'laravel.passport': {
url: '...',
client_id: '...',
client_secret: '...'
},
}
}

Usage

Anywhere in your application logic:

this.$auth.loginWith('laravel.passport')

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

Obtaining url, client_id and client_secret

These options are REQUIRED. The url is the location of your Laravel application. To obtain the client_id and client_secret, create a new client app in your Laravel app.