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
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
Nuxt: 2.15.0
@nuxtjs/axios: 5.12.1
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: