According to SAML spec, the SAML response should always be signed and the SAML assertion can optionally be signed. samlp.auth currently only allows for the response to be signed, and it defaults to not signing it.
Desired behavior
The response should always be signed, and there should be an option added signAssertion to sign the assertion as well.
samlp.auth({
...,
signAssertion: true,
});
The above code should result in a SAML response with both a signed response and a signed assertion. The signResponse option should default to true and signAssertion should default to false.
According to SAML spec, the SAML response should always be signed and the SAML assertion can optionally be signed.
samlp.authcurrently only allows for the response to be signed, and it defaults to not signing it.Desired behavior
The response should always be signed, and there should be an option added
signAssertionto sign the assertion as well.The above code should result in a SAML response with both a signed response and a signed assertion. The
signResponseoption should default to true andsignAssertionshould default to false.