For an Angular 1 app I am working on, cookie authentication is used. The problem is: when making OPTIONS
calls, cookies are not sent and the server tries to redirect user to login again. Just wondering, whose "fault" is it? Server (Azure API Apps) or frontend? If frontend, how do I send cookies on OPTIONS
call? I am using augular-resource
and have configured it as below:
$httpProvider.defaults.withCredentials = true