Skip to content

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

Open
andrewmaillet wants to merge 19 commits intoClever:masterfrom
Kinvey:master
Open

Allow the digital signature namespace to be at the top level of the SAML response.#123
andrewmaillet wants to merge 19 commits intoClever:masterfrom
Kinvey:master

Conversation

@andrewmaillet
Copy link
Copy Markdown
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