$http request doesn’t send cookies cross-domain in angular CORS

Have you seen this? Communication between AngularJS and a Jersey Webservice which are on a different domain. Can’t access correct session

Try passing a config object to $http that specifies withCredentials, that should work in all versions.

$http({withCredentials: true, ...}).get(...)

And the discussion here: https://github.com/angular/angular.js/pull/1209

Leave a Comment