Closed andreas-it-dev closed 1 year ago
looks like i found the issue. the data being sent must be within a body property. i dont remember this requirement from the original auth module.
would it make sense to add this to the docs?
That addition has been in the docs for a while https://github.com/nuxt-alt/auth#changes
oops.. thanks, i totally missed that innocent comment
am in the middle of experimenting with this package, so the code is still a little rough and lots of hard coded stuff, please bear with me.
i am trying to establish a cookie based auth solution with a rails backend. this is the config part in
nuxt.config.ts
:this is my login test form
looking in the dev console, the user object exists and the console log statement shows it just fine but you would notice right away that there is no Payload tab, so there is nothing posted to the backend:
and the rails backend also not showing anything:
i fear that this is a bug but maybe i do something wrong?