Closed takanome-dev closed 11 months ago
Working fine when using Postman, but still wondering why the browser(fetch) does not include the cookie when making request to the server :thinking:
Ok, so it's working when credentials: "include"
is included in the request and it's client-side.
For SSR, I manually add Cookie: "<value>"
in the headers because, for some reason, credentials:"include"
does not work there...
This PR introduces a new feature that replaces the usage of local storage with cookies. By using cookies, we ensure a more secure and efficient way of storing data. This change enhances the overall performance and reliability of the application.
Generated using OpenSauced.
Tickets
Fixes #17
Gifs