nuxt auth login with laravel passport 1

nuxt auth login with laravel passport

this.$auth.loginWith('laravelPassport')

Here is what the above code is Doing:
1. We are using the $auth.loginWith() method to login with the laravelPassport provider.
2. We are passing the accessToken as a parameter to the loginWith() method.
3. We are passing the user object as a parameter to the loginWith() method.
4. We are passing the rememberMe as a parameter to the loginWith() method.
5. We are passing the redirect as a parameter to the loginWith() method.

Similar Posts