Is it less secure to return CSRF token in response body vs response cookie (header)?

前端 未结 0 959
梦毁少年i
梦毁少年i 2021-02-04 11:50

Is it any less secure to return a csrf-token via res.json(), than returning via res.cookie()?

My project configuration is set as follows:

Domains:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题