i\'m making a web app in a restful way. For my client side i\'m using angularJs, the same is hosted at - lets say - https://domain.com
My backend is built on spring
Making CORS working isn't enough, you also need to enable withCredentials in angular.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials
Example:
angular.module('example', []).config(function ($httpProvider) { $httpProvider.defaults.withCredentials = true; });