From 4c29b96503d9503e9fc4922cbcc98340992fd052 Mon Sep 17 00:00:00 2001 From: Mihajlo Nikodijevic Date: Tue, 24 Sep 2024 20:53:45 +0200 Subject: [PATCH] Update libsaml.ts Issue: https://github.com/tngan/samlify/issues/389 --- src/libsaml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsaml.ts b/src/libsaml.ts index 3ea52314..02523e4b 100644 --- a/src/libsaml.ts +++ b/src/libsaml.ts @@ -455,7 +455,7 @@ const libSaml = () => { doc.removeChild(signatureNode); - verified = verified && sig.checkSignature(doc.toString()); + verified = verified && sig.checkSignature(xml); // immediately throw error when any one of the signature is failed to get verified if (!verified) {