Enveloped-signature transform not working? #487
-
Hello, for me it seems the enveloped-signature transform is not working I have:
It computes a signature, however the Signature element is set after the Assertion element instead of within it as expected when using the enveloped-signature transform.
I've verified the xpath to locate to the correct element - it selects the Assertion element in the SAML response. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You have to add Also notice that you have to add explicitly some C14N algorithm otherwise xml-crypto doesn't apply any implicit while other libraries seems to apply see #212 (comment) |
Beta Was this translation helpful? Give feedback.
You have to add
location
for computeSignature. See e.g.Also notice that you have to add explicitly some C14N algorithm otherwise xml-crypto doesn't apply any implicit while other libraries seems to apply see #212 (comment)