Authcontext prevents login
-
Hi
we were not able to log in via SAML anymore and checked the source and found that the SAML request contained instructions that are leading to fail
<samlp:RequestedAuthnContext $authnComparisonAttr>
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml:AuthnContextClassRef>
</samlp:RequestedAuthnContext>PasswordProtectedTransport
As soon as we replaced it with “unspecified” it worked
<samlp:RequestedAuthnContext $authnComparisonAttr>
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml:AuthnContextClassRef>
</samlp:RequestedAuthnContext>Can you please ensure that the code does right requests? I understand from my IT colleague that IdP provides the instructions for context and we shall set unspecified so that IdP instructions succeed
File: wp-saml-auth\vendor\onelogin\php-saml\src\Saml2\AuthnRequest.php
Line: 136
Thanks
You must be logged in to reply to this topic.