<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255);display:inline !important">Hi guys,</span><span style="background-color:rgb(255, 255, 255);display:inline !important"></span>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
we are using shibboleth SP 3.1.0 and trying to get forced re-authentication to work. </div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
In our configuration we have forceAuthn set to "true" but it seems shibboleth is always sending it as "1" in the XML auth request. According to this old post from 2019 of the keycloak mailing list (<a href="https://lists.jboss.org/pipermail/keycloak-user/2019-August/019058.html" target="_blank" rel="nofollow noopener noreferrer" data-auth="NotApplicable" data-linkindex="0" style="margin:0px;color:rgb(26, 115, 232)">https://lists.jboss.org/pipermail/keycloak-user/2019-August/019058.html</a>)
 also "1" is compliant with the spec and should be accepted.</div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
However, the IDP we are integrating insists that only "true" or "false" are compliant and doesn't accept the answer given in the post mentioned above. "Whilst XML schemas may consider 1 as a valid boolean value, the SAML spec specifically states that the values
 should be true or false. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdocs.oasis-open.org%2Fsecurity%2Fsaml%2FPost2.0%2Fsstc-request-initiation-cd-01.html&data=04%7C01%7CCorin.Langosch%40swisscom.com%7C7a8abdc3519c4fcd580808d99220949a%7C364e5b87c1c7420d9beec35d19b557a1%7C0%7C0%7C637701490894224397%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aTydkuh5vqnZHgizDLA4no6%2FHn0dHX3lQxcg3uXUlwM%3D&reserved=0" target="_blank" rel="nofollow noopener noreferrer" data-auth="NotApplicable" data-linkindex="1" style="margin:0px;text-decoration:underline;color:rgb(26, 115, 232)">http://docs.oasis-open.org/security/saml/Post2.0/sstc-request-initiation-cd-01.html</a>"</div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
Is our IDP right and thus this would need to be fixed in shibboleth? Or do they have to adjust their code? Thank you very much in advance.</div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
<br>
</div>
<div style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">
Kind regards</div>
<span style="margin:0px;font-size:14px;font-family:Roboto, RobotoDraft, Helvetica, Arial, sans-serif;color:rgba(0, 0, 0, 0.87);background-color:rgb(255, 255, 255)">Corin</span><br>
</div>
</body>
</html>