Skip to content
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

Add options for location of Response signature in message #56

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

Conversation

iPipelineMK
Copy link

Added 'location' object to the call to 'sig.computeSignature' this allows specifying the reference and action of the Response signature. Without this the location of the Response signature is always appended to the root node per the defaulting logic in xml-crypto\lib\signed-xml.js

…re' method to pass location object containing action & reference properties to enable different Response signature locations
…ponse

updated function 'buildSamlResponse' when calling the 'computeSignatu…
@mcastany
Copy link
Contributor

based on the SAML schema, the signature must be placed after the issuer. I would not add an option for this, I would specify the correct location directly - #42 (comment)

Can you add or update a test with this change ?

need exact version of 'saml' package not 0.12.2 introduced a breaking change to this fork of 'samlp'
added some logging to track bad responses
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.

2 participants