I have an angular app running at localhost:4200 My API backend runs at localhost:8080
The API backend provides auth endpoint which sets a cookie:
localhost:4200 -> localhost:8080 POST /auth?creds=mycreds responds 204 Set-Cookie: mycookie=myvalue; HttpOnly
The following XHR requests from localhost:4200 to localhost:8080 are not transmitting the cookie to the backend. I don't get why.