<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:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I’m trying to POST data from one website to another, with the destination being behind Shibboleth. I found this link which details the settings needed to ensure the data isn’t lost.<o:p></o:p></p>
<p class="MsoNormal"><a href="https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2065335423/CommonErrors#CommonErrors-HTTPPOSTformdataislostwhenShibbolethsessionexpiredordoesnotexistyet">https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2065335423/CommonErrors#CommonErrors-HTTPPOSTformdataislostwhenShibbolethsessionexpiredordoesnotexistyet</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><Sessions lifetime="28800" timeout="1800" checkAddress="false" handlerURL="/Shibboleth.sso" handlerSSL="true" cookieProps="; path=/; HttpOnly; Secure; SameSite=None" idpHistory="false" idpHistoryDays="7" postData="ss:mem" postTemplate="postTemplate.html"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Once I make the adjustments I get a 500 when I POST to my website behind Shibboleth, however GET succeed without error. If I remove the postData/postTemplate attributes, I can POST successfully (albeit without data).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">shibd.log<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG Shibboleth.Listener [1]: dispatching message (default::getHeaders::Application)<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG Shibboleth.Listener [1] [default]: dispatching message (default/Login::run::SAML2SI)<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG OpenSAML.MessageEncoder.SAML2Redirect [1] [default]: validating input<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG OpenSAML.MessageEncoder.SAML2 [1] [default]: tracking request (_a877d76a81a9a31574a91d0da55f7d4d) against RelayState token (cookie:1724423662_2348)<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG OpenSAML.MessageEncoder.SAML2Redirect [1] [default]: marshalling, deflating, base64-encoding the message<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: starting to marshal samlp:AuthnRequest<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: creating root element to marshall<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: marshalling namespace attributes for XMLObject<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: marshalling text and child elements for XMLObject<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: starting to marshalling saml:Issuer<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: creating root element to marshall<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: marshalling namespace attributes for XMLObject<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: marshalling text and child elements for XMLObject<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: caching DOM for XMLObject<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: starting to marshalling samlp:NameIDPolicy<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: creating root element to marshall<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: marshalling namespace attributes for XMLObject<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: marshalling text and child elements for XMLObject<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: caching DOM for XMLObject<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG XMLTooling.XMLObject [1] [default]: caching DOM for XMLObject (document is bound)<o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG OpenSAML.MessageEncoder.SAML2Redirect [1] [default]: marshalled message:<o:p></o:p></p>
<p class="MsoNormal"><samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" AssertionConsumerServiceURL=<a href="https://domain/Shibboleth.sso/SAML2/POST">https://domain/Shibboleth.sso/SAML2/POST</a> Destination=<a href="https://domain/idp/profile/SAML2/Redirect/SSO">https://domain/idp/profile/SAML2/Redirect/SSO</a>
ID="_a877d76a81a9a31574a91d0da55f7d4d" IssueInstant="2024-08-23T14:34:22Z" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"><a href="https://domain/shibboleth%3c/saml:Issuer%3e%3csamlp:NameIDPolicy">https://domain/shibboleth</saml:Issuer><samlp:NameIDPolicy</a>
AllowCreate="1"/></samlp:AuthnRequest><o:p></o:p></p>
<p class="MsoNormal">2024-08-23 10:34:22 DEBUG OpenSAML.MessageEncoder.SAML2Redirect [1] [default]: message encoded, sending redirect to client<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">-Michael<o:p></o:p></p>
</div>
</body>
</html>