-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destination value MUST be present in Response if binding is HTTP-REDIRECT or HTTP-POST #812
base: master
Are you sure you want to change the base?
Conversation
…-REDIRECT or HTTP-POST
@peppelinux where is this defined in the specification? As a reference, the core specification says
What I see is the following in the SAML-bindings:
This does not say that the Destination XML attribute MUST be there; at least not in a clear way.
I would expect a clear requirement for the Destination XML attribute to always be present given those bindings. Additionally, the "message is signed" phrase makes the check even less strict, as in the cases when the message is not signed the destination could be present and point anywhere. This contradicts what the core specification says, so I think the "message is signed" is probably emphasis and not an actual rule. In practice, I expect the destination attribute to be present. I cannot guarantee though that it always will and at this point I cannot make it required as this is not clear to me from the specs. I will try to ask the SAML authors what the intention was and whether the attribute is required for those bindings. In the meantime, if you have seen this clearly defined in the specs, let me know. |
Thank you @c00kiemon5ter |
A general review of #782
Destination MAY be omitted, because it's optional, BUT if present it MUST be validated upon a match on valid ones.
Destination MUST be present if the SAML Binding is async (HTTP-POST or HTTP-REDIRECT).
closes #770
All Submissions: