From 8d613e32319012609d5fa434fc630896e0f2b86a Mon Sep 17 00:00:00 2001 From: Terry Smith Date: Tue, 13 Apr 2021 15:04:16 -0400 Subject: [PATCH] Return success true on valid signed assertion _processValidlySignedAssertion() throws exceptions on all error conditions. At the end of the function the returned object's success property should be set to true. --- src/saml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saml.js b/src/saml.js index 23c9f46f5..90c461b65 100644 --- a/src/saml.js +++ b/src/saml.js @@ -964,7 +964,7 @@ class SAML { profile.getAssertion = () => parsedAssertion; profile.getSamlResponseXml = () => samlResponseXml; - return {profile, success: false}; + return {profile, success: true}; } _checkTimestampsValidityError(nowMs, notBefore, notOnOrAfter) {