<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
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;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
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]-->
</head>
<body lang="IT" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<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">
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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">html</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">head</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">title</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">Shibboleth Authentication Request</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"></</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">title</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"></</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">head</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">body</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">onload</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"document.forms[0].submit()"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">h1</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">Shibboleth Authentication Request</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"></</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">h1</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">script</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">type</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"text/javascript"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#800555;mso-ligatures:none;mso-fareast-language:IT"><!--</span></b><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#336633;mso-ligatures:none;mso-fareast-language:IT">document</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">.</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#642880;mso-ligatures:none;mso-fareast-language:IT">write</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">(</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT">"<p>You are automatically being redirected to the authentication service. "</span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#336633;mso-ligatures:none;mso-fareast-language:IT">document</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">.</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#642880;mso-ligatures:none;mso-fareast-language:IT">write</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">(</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT">"If the browser appears to be hung up after 15-20 seconds, try reloading "</span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#336633;mso-ligatures:none;mso-fareast-language:IT">document</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">.</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#642880;mso-ligatures:none;mso-fareast-language:IT">write</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">(</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT">"the page before contacting the technical support staff in charge of the "</span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#336633;mso-ligatures:none;mso-fareast-language:IT">document</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">.</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#642880;mso-ligatures:none;mso-fareast-language:IT">write</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">(</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT">"authentication service you are trying to access.</p>"</span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#336633;mso-ligatures:none;mso-fareast-language:IT">document</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">.</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#642880;mso-ligatures:none;mso-fareast-language:IT">write</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">(</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#2A00FF;mso-ligatures:none;mso-fareast-language:IT">"<h2>Redirecting...</h2>"</span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#5F8FBF;mso-ligatures:none;mso-fareast-language:IT">// </span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#800555;mso-ligatures:none;mso-fareast-language:IT">--></span></b><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"></</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">script</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">noscript</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">p</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">strong</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">Note:</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"></</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">strong</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"></</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">p</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"></</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">noscript</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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 lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">form</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">method</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"POST"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">action</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"https://idpcwrapper.crs.*****.it/PublisherMetadata/SSOService"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">></span><span lang="EN-US" 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="margin-bottom:12.0pt;line-height:13.5pt;background:#FFFFFE">
<span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">input</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">type</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"hidden"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">name</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"RelayState"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">value</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"https://www.****.***.***.it/web/**/**-**"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">/></span><span lang="EN-US" 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="margin-bottom:12.0pt;line-height:13.5pt;background:#FFFFFE">
<span lang="EN-US" 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 lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT"><</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:maroon;mso-ligatures:none;mso-fareast-language:IT">input</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">type</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"hidden"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">name</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:blue;mso-ligatures:none;mso-fareast-language:IT">"SAMLRequest"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT"> </span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">value</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:#383838;mso-ligatures:none;mso-fareast-language:IT">=</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-ligatures:none;mso-fareast-language:IT">"</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Courier New";color:red;mso-ligatures:none;mso-fareast-language:IT">PHNhbWxwOkF1dGhuUmVxdWVzdCB4bWxuczpzYW1scD0idXJuOm9hc2lzOm5h</span><span lang="EN-US" 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">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>
</body>
</html>