If you use AJAX requests to log in (for example, via the web API), try turning on
xhrFields: { withCredentials: true }
sort of
$.ajax({ method: 'POST', url: 'yourloginurl.com/api/login', xhrFields: { withCredentials: true }, success: function (data) { ... } });
After installing the domain on httpCookie.
I spent a day to find this solution, and it will solve my problem.
source share