title: SAML2 AngularJs Spring security
body: <p>I have implemented SAML authentication using Spring MVC. I am also using Angular JS along with Spring. In current Project, Anuglarjs is loaded from Spring but AngularJS is single page application, SAML is working fine in this scenario. Now Project requirement has changed and we are deploying Angularjs code on one server and Spring mvc code on another server. As we authenticate SAML using spring mvc so when i run both projects on same browser and login using SAML in spring mvc and try to connect from angularjs to spring. authentication fails.</p>
  
  <p>How can I handle this scenario? Is there any way to implement SAML2 with Spring code and Angular Code on different servers?  </p>