<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">General guidance on the flows from a
      browser (or in your case, an app simulating a browser) is here:</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://shibboleth.atlassian.net/wiki/spaces/CONCEPT/pages/928645290/FlowsAndConfig">https://shibboleth.atlassian.net/wiki/spaces/CONCEPT/pages/928645290/FlowsAndConfig</a></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">The important thing is that you store
      the cookie(s) set when you first visit the web form (there will be
      a Set-Cookie on the redirect to the IdP) and play them back when
      you POST the resulting SAMLResponse value returned from the IdP to
      the SP's AssertionConsumerService endpoint, and again when the ACS
      redirects you to the originally requested page.<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 9/2/2023 10:07 AM, Mauro Minella via
      users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:AM7PR83MB0436FFE92A640E0E9C5D810DE5EBA@AM7PR83MB0436.EURPRD83.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">******** HI LEVEL
            SUMMARY<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">My goal is to do a POST
            call from my code to submit a request through a WEB server
            that requires Shibboleth authentication.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">At the moment I am fine
            to just collect the SAML Request base64 value manually, and
            authenticate as explained below. So I can collect this
            base64 value to use for authentication and I can
            authenticate, but I can’t understand what I should do after
            authenticating, to finalize my POST call.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">******** DETAILS<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">When I open the WEB Form
            on this server, I am redirected to a shibboleth IDP where I
            insert my username and password, then I add the SMS
            received, and I am in.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">After I am
            authenticated, I fill this WEB form that correctly returns a
            result based on the account I am authenticated with. The
            source code of this WEB page makes a simple POST call with a
            couple of parameters, where the WEB server is the same,
            something like <a
              href="https://www.mywebserver.org:443/web/area/find-product"
              moz-do-not-send="true">
              https://www.mywebserver.org:443/web/area/find-product</a>
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Now I need to submit the
            same form from my code, using a POST call directly, with the
            same parameters.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">However, when I call
            that page using a POST call with the same parameters, I
            receive the HTML source code of a WEB page which starts with<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">///<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">html</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">head</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">    </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">title</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">Shibboleth Authentication Request</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"></</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">title</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"></</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">head</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">body</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">onload</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"document.forms[0].submit()"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">    </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">h1</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">Shibboleth Authentication Request</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"></</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">h1</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">    </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">script</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">type</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"text/javascript"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><b><span
              style="font-size:9.0pt;font-family:"Courier
              New";color:#800555;mso-ligatures:none;mso-fareast-language:IT"
              lang="EN-US"><!--</span></b><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">    <o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#336633;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">document</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">.</span><b><span
              style="font-size:9.0pt;font-family:"Courier
              New";color:#642880;mso-ligatures:none;mso-fareast-language:IT"
              lang="EN-US">write</span></b><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">(</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"<p>You are automatically being redirected to the authentication service. "</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">);<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#336633;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">document</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">.</span><b><span
              style="font-size:9.0pt;font-family:"Courier
              New";color:#642880;mso-ligatures:none;mso-fareast-language:IT"
              lang="EN-US">write</span></b><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">(</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"If the browser appears to be hung up after 15-20 seconds, try reloading "</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">);<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#336633;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">document</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">.</span><b><span
              style="font-size:9.0pt;font-family:"Courier
              New";color:#642880;mso-ligatures:none;mso-fareast-language:IT"
              lang="EN-US">write</span></b><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">(</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"the page before contacting the technical support staff in charge of the "</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">);<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#336633;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">document</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">.</span><b><span
              style="font-size:9.0pt;font-family:"Courier
              New";color:#642880;mso-ligatures:none;mso-fareast-language:IT"
              lang="EN-US">write</span></b><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">(</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"authentication service you are trying to access.</p>"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">);<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#336633;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">document</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">.</span><b><span
              style="font-size:9.0pt;font-family:"Courier
              New";color:#642880;mso-ligatures:none;mso-fareast-language:IT"
              lang="EN-US">write</span></b><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">(</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"<h2>Redirecting...</h2>"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">);<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#5F8FBF;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">// </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><b><span
              style="font-size:9.0pt;font-family:"Courier
              New";color:#800555;mso-ligatures:none;mso-fareast-language:IT"
              lang="EN-US">--></span></b><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">    </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"></</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">script</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">    </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">noscript</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">p</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">            </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">strong</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">Note:</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"></</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">strong</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> Since your browser does not support JavaScript, you must press the<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">            Continue button once to proceed to the authentication service.<o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"></</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">p</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">    </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"></</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">noscript</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">    </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">form</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">method</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"POST"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">action</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"https&#58;//idpcwrapper.crs.*****.it/PublisherMetadata/SSOService"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="margin-bottom:12.0pt;line-height:13.5pt;background:#FFFFFE">
          <span style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">input</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">type</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"hidden"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">name</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"RelayState"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">value</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"https&#58;//www.****.***.***.it/web/**/**-**"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">/></span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="margin-bottom:12.0pt;line-height:13.5pt;background:#FFFFFE">
          <span style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">        </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:maroon;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">input</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">type</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"hidden"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">name</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:blue;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"SAMLRequest"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"> </span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">value</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">=</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">"</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US">PHNhbWxwOkF1dGhuUmVxdWVzdCB4bWxuczpzYW1scD0idXJuOm9hc2lzOm5h</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT">bWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIiBBc3NlcnRpb25Db25zdW1lclNl</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT">cnZpY2VVUkw9Imh0dHBzOi8vd3d3LmZhc2NpY29sb3Nhbml0YXJpby5yZWdp</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;background:#FFFFFE"><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:red;mso-ligatures:none;mso-fareast-language:IT">b25lLmxvbWJhcmRpYS5pdC9jaXR0LXNzYy9wcml2YXRlL1NoaWJib2xldGgu</span><span
            style="font-size:9.0pt;font-family:"Courier
            New";color:black;mso-ligatures:none;mso-fareast-language:IT"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">///<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">If I save and run this
            page using my browser, I’m redirected to the same IDP where
            I can authenticate as usual.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Now I’m not very
            familiar with this topic, but since I need to complete my
            initial POST request to read the answer from code, I suppose
            I need to “capture” the authentication token and insert in
            my POST request, is that correct? And how could I do this?<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
%%  Christopher A. Bongaarts   %%  <a class="moz-txt-link-abbreviated" href="mailto:cab@umn.edu">cab@umn.edu</a>          %%
%%  OIT - Identity Management  %%  <a class="moz-txt-link-freetext" href="http://umn.edu/~cab">http://umn.edu/~cab</a>  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%
</pre>
  </body>
</html>