DEV Community

Discussion on: PKCE authenticaton for Nuxt SPA with Laravel as backend

Collapse
 
devondahon profile image
gvi • Edited

With your method here, I'm logged in the Laravel backend.
Is it an expected result ? Is there a way to prevent from logging in the backend ?
I have the same issue with @nuxtjs/auth (and @nuxtjs/auth-next module).
Maybe it's something I'm misunderstanding about using Laravel Passport.

Collapse
 
devondahon profile image
gvi

Also, why not using Passport Grant Token ?

Collapse
 
stefant123 profile image
StefanT123

We are using Passport Grant Token

Collapse
 
stefant123 profile image
StefanT123

You must be logged in the backend if you want to make a request to the backend.