You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the benefit of /_auth/local/laravelSanctum/authorize ? How can we disable this ?
I got this error and don't have any idea whats wrong http://localhost:8000/api/auth/login is working fine in postman
Additional context
No response
Logs
[nuxt] [request error] [unhandled] [500] [POST] "http://localhost:8000/api/auth/login": <no response> fetch failed
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AsyncFunction.$fetchRaw2 [as raw] (./node_modules/ofetch/dist/shared/ofetch.37386b05.mjs:231:14)
at Object.handler (./.nuxt/local-laravelSanctum.ts:112:20)
at async ./node_modules/h3/dist/index.mjs:1962:19
at async Object.callAsync (./node_modules/unctx/dist/index.mjs:72:16)
at async Server.toNodeHandle (./node_modules/h3/dist/index.mjs:2249:7)
The text was updated successfully, but these errors were encountered:
I also have a same issue.
In my case, /_auth/local/local1/authorize is used when I try to login.
The response is used as the request header of the me API, and it fails.
I want to use my own login API.
How can I disabled authorize API?
Environment
Nuxt Config
Reproduction
Describe the bug
What is the benefit of /_auth/local/laravelSanctum/authorize ? How can we disable this ?
I got this error and don't have any idea whats wrong
http://localhost:8000/api/auth/login is working fine in postman
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: