I'm actually struggling with it : from Nuxt.js, I'm redirected to Laravel login page and then back to Nuxt.js homepage with a code and state, but I don't know how to use it to get token.
I am encountering the same problem. Have you figured out the solution? I posted this on stackoverflow but no reply yet. Maybe middleware:auth in nuxtjs for laravel passport has a problem. Very frustrating. Sigh!
Why not using the
laravel.passport
strategy innuxt.config.js
, as documented below ?auth.nuxtjs.org/providers/laravel-...
I'm actually struggling with it : from Nuxt.js, I'm redirected to Laravel login page and then back to Nuxt.js homepage with a
code
andstate
, but I don't know how to use it to get token.I am encountering the same problem. Have you figured out the solution? I posted this on stackoverflow but no reply yet. Maybe
middleware:auth
in nuxtjs for laravel passport has a problem. Very frustrating. Sigh!stackoverflow.com/questions/634971...
It's not flexible enough for my needs...