I have an application with Nuxt and cookie-based authentication. My problem is, that cookies are not sent from the server side, that's why the user info is lost. I saw many people reporting the same issue on the internet, but I don't know if it's totally impossible to make it work or if there is a workaround to solve it.
The session is managed by the Django application, so I want to send the cookies from the server side (Nuxt) to Django to keep the session.
I tried a lot of things, updating or downgrading the version of Axios but I still don't make it works.
I can not show the code because it's from my company, but, I'll try to make an example, if I get that I'll show you
Expected Behavior
Keep the session info on both sides (client and server)
Current Behavior
The session is lost on the server side or the cookies are not sent from the server side.
Failure Information (for bugs)
I could notice the headers are not sending even if I put it on manually
Description
I have an application with Nuxt and cookie-based authentication. My problem is, that cookies are not sent from the server side, that's why the user info is lost. I saw many people reporting the same issue on the internet, but I don't know if it's totally impossible to make it work or if there is a workaround to solve it.
The session is managed by the Django application, so I want to send the cookies from the server side (Nuxt) to Django to keep the session.
I tried a lot of things, updating or downgrading the version of Axios but I still don't make it works.
I can not show the code because it's from my company, but, I'll try to make an example, if I get that I'll show you
Expected Behavior
Keep the session info on both sides (client and server)
Current Behavior
The session is lost on the server side or the cookies are not sent from the server side.
Failure Information (for bugs)
I could notice the headers are not sending even if I put it on manually
Context