Home

Issue: 1590

How can i send set-cookie from server side to client?

[issue link]

My backend is written in PHP and it carries the set-cookie parameter in the requested header

I am in the asyncData get the response, the response of the header there is set-cookie, I hope that the value of this set-cookie passed Nuxt to Koa / Express, and then through Koa / Express this cookie passed to the client, which Is CSRF-TOKEN.

Is there any way?

This question is available on Nuxt.js community (#c1419)