Dealings with cookies with CORS
CORS and cookies on the front end is a very important problem, but most of the time in development, because the domain of the front and back end is often the same, so rarely to care for these problems. Or just ask the backend to be Access-Control-Allow-Origin...