djoser: `State could not be found in server-side session data.` with React Frontend.
Hey everyone.
I am facing this State could not be found in server-side session data. issue with my app. I am pretty sure that I have configured everything properly since everything is working fine in the Postman and I am able to create user from the postman.
For the frontend, I am using nextjs. Making requests with code and state always comes back with "State could not be found in server-side session data." no matter what. Not sure where exactly is this coming from?
The fact that it is working with Postman might be because of the cookies sessionid and csrftoken which I am not very sure about.
If any mod can please help regarding this, would be very helpful.
Thanks
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 13
- Comments: 22
Can’t get this to work either using Postman or NuxtJS. Getting the same error. Not sure what alternatives there are if one still wishes to keep Djoser… any pointers? Did you end up still using Djoser but adding dj-rest-auth to it? If so, I would love to see how you implemented it. It really sucks because this turned out to be really difficult to debug. @mabdullahadeel