urn:oasis:names:tc:SAML:1.0:protocol
let me re-phrase my post:1. does simplesamlphp support working as SP against a SAML1.0 IdP?
2. if it does, how in the code should one determine the version of the IdP in order to know how to parse/receive/process the SAML response?2.1. can it be done on the fly by looking at the XML?2.2. or should it be a static configuration per metadata set?
my current code is doing the following:$b = SAML2_Binding::getCurrentBinding();if ($b instanceof SAML2_HTTPArtifact) {$b->setSPMetadata($spMetadata);}$response = $b->receive();if (!($response instanceof SAML2_Response)) {throw new SimpleSAML_Error_BadRequest('Invalid message received to AssertionConsumerService endpoint.');}So this is a hard-coded assumption that I'm working with a SAML2 IdP.