[Vuejs]-Is there a way to set generated cookie from backend to front end using vuejs?

0👍

Just make sure that the backend is setting the cookies correctly, here’s the link to official NestJS documentation about cookies.

The value from the set-cookies header will just be stored by the browser, it’s only forbidden to be accessed by the JavaScript, however so you should be able to see it in the Dev Tools.

In your case it looks like backend is not setting it in the right way.

Leave a comment