diff --git a/modules/saml/www/sp/metadata.php b/modules/saml/www/sp/metadata.php index 25e9d7fd245bb971d0a5d59b138c5840ed537dd2..4111a6eb18e49cef7c95626d1adf6e7918d3a76f 100644 --- a/modules/saml/www/sp/metadata.php +++ b/modules/saml/www/sp/metadata.php @@ -81,7 +81,7 @@ foreach ($assertionsconsumerservices as $services) { break; case 'urn:oasis:names:tc:SAML:2.0:profiles:holder-of-key:SSO:browser': $acs->Binding = 'urn:oasis:names:tc:SAML:2.0:profiles:holder-of-key:SSO:browser'; - $acs->ProtocolBinding = SAML2_Const::BINDING_HTTP_POST; + $acs->setAttributeNS(SAML2_Const::NS_HOK, 'hoksso:ProtocolBinding', SAML2_Const::BINDING_HTTP_POST); $acs->Location = SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php/' . $sourceId); break; }