Skip to content

Enhance signing node saml - #3

Merged
brandonros merged 2 commits into
masterfrom
enhance-signing-node-saml
Jun 24, 2020
Merged

brandonros merged 2 commits into
masterfrom
enhance-signing-node-saml

Conversation

@jonlindsey

@jonlindsey jonlindsey commented Jun 24, 2020 •

Copy link
Copy Markdown

feat: Add ability to sign both the SAML response and Assertion by setting
Add the ability to control IDs of the Response and Assertion for SAML 20 XSD compliance.
Create automatic failsafe values for Response and Assertion IDs to be SAML 20 XSD compliant.

With this feature the following modes are possible
Original
SAML 20 signed assertion
SAML 20 encrypted signed assertion

Previous
SAML 20 signed response with assertion
SAML 20 signed response with encrypted assertion

New
SAML 20 signed response with signed assertion
SAML 20 signed response with encrypted signed assertion

This should finally cover it.

Testing: Mocha - 2 additional unit tests were added to check for valid signature in the response and assertion with attribute option. In addition, all output products for all modes were tested against https://www.samltool.com/validate_response.php

All node-sso-formatter unit and e2e tests were verified, and all new functionality is additive with 100% backward compatibility.

@brandonros
brandonros merged commit d216662 into master Jun 24, 2020
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.

3 participants