Skip to content

Allow the digital signature namespace to be at the top level of the SAML response. #123

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

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

andrewmaillet
Copy link
Contributor

We started receiving SAML responses from an IdP (Oracle Access Manager) that had the dsig namespace declared at the top of the response xml instead of on each signature element. The signature verifcation failed due to the xml.toString() before the sig.computeSignature() call. Passing the xmldom object directly instead of the result of the toString call fixed the problem. The toString was not rendering the namespace value in the xml.

Similar issue was solved here:
node-saml/xml-crypto#84

Andrew Maillet and others added 12 commits November 13, 2017 10:52
the xml dsig namespace can be specified at the root of the SAML response
instead of on each Signature element.  The canonincalized xml for the
signature element requires that the namespace declaration be present on
the siganture element.
BACK-2900 Accept saml response with xml sig namespace at the root level
KDEV-1276: Bump xml-crypto to latest version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants