CORS requset did not send cookie

  axios, cookies, cors, javascript, web

I set a cookie under the www.example.com, and then when I send CROS requests (POST) to api-request.com, the cookie is not carried in the request header.

The SameSite of cookie is None and i set withCredentials: true with axios.

Source: Ask Javascript Questions

LEAVE A COMMENT