Hello, i encountered a weird issue. When i'm receiving response for AuthnRequest ERR_FAILED_TO_VERIFY_SIGNATURE error is thrown. I experimented around package and found out that if i comment out a single line of code, the signature verification passes.
|
doc.removeChild(signatureNode); |
Also, i was looking at xml-crypto docs and in the section for signature verification didn't see that they use that approach with removing sig node.
Is this a bug or did i misconfigured something?
I will gladly provide more info if it's needed.
Hello, i encountered a weird issue. When i'm receiving response for AuthnRequest ERR_FAILED_TO_VERIFY_SIGNATURE error is thrown. I experimented around package and found out that if i comment out a single line of code, the signature verification passes.
samlify/src/libsaml.ts
Line 395 in 06a8b9c
Also, i was looking at xml-crypto docs and in the section for signature verification didn't see that they use that approach with removing sig node.
Is this a bug or did i misconfigured something?
I will gladly provide more info if it's needed.