Skip to content

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