Open amery opened 8 months ago
I have this issue, too,
What I did is set stategy.ssr = false I got this work correct ( I read what developer write inside module, I got his point.) If you use ssr:true, don't need it.
Thanks developer so much!
this problem became critical for me as I use nuxt generate
and this hardcoded authorize thing doesn't exist unless nitro is running.
at least for the local/refresh strategy adding ssr: false
makes no change :sob:
I'm not sure if it helps, but it works for me
const response = await $auth.loginWith("cookie", {
body: new URLSearchParams(state)
})
I added JSON support to the backend at the end, but now my main problem is that this authorize
interceptor doesn't exist when using nuxt generate
and that means I can't log in. any suggestion on how to disable it when using local
?
hi, I need to POST url encoded username/password to login for for some reason auth is intercepting the login and failing
the config looks like:
but in
$auth
login and refresh are replaced with/_auth/local/local/authorize
which dies withInvalid JSON body
if I url encode the body.any suggestion about what I'm missing?
Build Modules: -