Open cccaballero opened 4 months ago
I'm currently testing in version 0.8.0-alpha.2
. When I call the signIn
function with redirect: false
included in the signInOptions
parameter, I don't encounter the on-screen 404 error anymore (it is in the console log). However, the module still calls getSession
and the token data obtained during signIn
is cleared. Maybe this is because:
This condition is not met because getSessionOptions
is undefined but the token exists. As a result, the function execution continues but fails when trying to call the getSession endpoint, and the token value is cleared.
I don't need getSession
at all, because my API is stateless and there is no session in the server side.
Hi @cccaballero 👋
Thanks for the detailed outline of the issue and investigation! Would you be willing to open a PR to patch this? We can then look to include this inside the 0.8.0 release!
Environment
Build Modules: -
Reproduction
I set the following config:
My backend is running in a different server (Django app) exposed in port 8000 and my frontend nuxt apllication is exposed in port 3001
Describe the bug
When the nuxt app loads, I get the following error:
Additional context
It looks like nuxt-auth is trying to call a session endpoint even though I'm setting
getSession
tofalse
.Logs