You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 3, 2026. It is now read-only.
SAML Response not matching "saml-schema-protocol-2.0.xsd" - Assertion rejected #42
When signing the entire SAML Response, one of the Service Provider has rejected the Assertion stating the incorrect ordering of Signature element and not compliant with "saml-schema-protocol-2.0.xsd".
According to them and xsd, signature should be always after the Issuer element in the SAML Response or Assertion. In samlp's SAML Response, the Signature element is present in the Response just after the Assertion element - sample response for reference.
Refer the example here and here (Check "SAML Response with Signed Message")
Is it possible to achieve the specified ordering? I have checked samlresponse.ejs but it doesnt seem to be enough to get there. Any help here is appreciated..
Activity
mcastany commentedon Mar 23, 2017
@yesvivek we should replace this line https://github.com/auth0/node-samlp/blob/master/lib/samlp.js#L52 with something like this:
I'll send an update to the library with some tests later this week.
yesvivek commentedon Mar 23, 2017
@mcastany That change is all needed, works good now. Thanks a lot!
yesvivek commentedon Jul 14, 2017
Not sure whether this is fixed already or not. @mcastany could you please confirm.
mcastany commentedon Jul 18, 2017
@yesvivek no, sorry. I see that there are two PRs open for this. I have requested some changes + tests. I'll let you know when this is fixed
mcastany commentedon Jul 31, 2017
v3.3.2 published