title: Angularjs and SAML, the beginning
body: <p>I m working on an application that needs SAML to manage authentication with an OpenAM server.</p>
  
  <p>Actually, I use Satellizer with OAuth2 implicit grant flow and I have the following :</p>
  
  <ul>
  <li>Open angularjs app in browser</li>
  <li>Click on the third party login button</li>
  <li>A <strong>new window hover the existing one (with ng app)</strong> is open asking me my credentials</li>
  <li>I fill them, and validate</li>
  <li>The pages made its stuff (generating token)</li>
  <li>The angularjs application gets the token through the windows (how it is possible ?)</li>
  <li>I can use my application with the OAuth2 bearer / jwt token.</li>
  </ul>
  
  <p>I need to have something that works the same using SAML. The fact is that I m completely lost and it seems that I should log onto the SAML server using my backend...</p>
  
  <p>I don't really like this situation and I need to know if there's something better to do using client side application.</p>
  
  <p>What is the "usual" authentication flow with client side app with SAML ?</p>
  
  <p>Thanks for your help</p>