title: Generating SAML request and Extracting SAML token from response in web browser
body: <p>I have very limited knowledge of SAML. I am working on a browser app which get the data through REST APIs. The API request at the provider can be validated by either by providing the user credentials or through SAML SSO.<br> Documentation of API provider says that 
  <code>If you acquired the token from an SSO source, the Authorization header is of the format:
  Authorization: SSO2Token &lt;SSO_SAML_TOKEN&gt;</code>. Now since I don't have any backend service running, how can I generated SAML request in Angular 2 app for SAML host and then extract the SAML token from SAML response and use it in subsequent API call header. </p>