I have .net core API and angular website. On front-end, I set a cookie that I want to pass to API. I enabled cors and withCredentials flag and when I test the solutions on localhost it works like a charm. Problems start after deploying API and angular on iis on separate machines because cookies are empty. Is there anything to do? I read that cookies are bind to a domain.