SAML Response Validation

We are getting false result when we tried to validate the SAML response XML with the public key provided by my client. My client is saying that their SAML Response is in correct format. So could you please help me in understanding what all the conditions would cause this false result ? Here is a code // Load the SAML response var samlResponse = new Response(rawSamlData); //verify the signature with id provider key if (!samlResponse.Validate(signatureCertificate)) { throw new ApplicationException("SAML Response signature is not valid"); } SAML Response XML: xxxxxxxxxxxx mWwX576OdJppX3ro7pWgGO6WnrI= {signature value} {client public cert} xxx XXX xxxxxxxxxxxx AuthnContextClassRef XXX XXX XXX
edited 7/14/2020 1:06:13 PM
asked 7/14/2020 12:44:24 PM
add a comment

0 Answers

Your Answer

Not the answer you're looking for? Browse other questions tagged saml or ask your own question.