Re:Why do we have both CSRF protection and CORS?
by smagin on Monday March 03, 2025 @10:56AM
(#43242956)
You shouldn't need your session token in JS, you can specify your fetch requests to include cookies, and you can setup CORS to allow that.
[ Parent
| on HN ]
There are no comments on this comment yet.