SAML SSO - Signature validation fails for SHA-256 algorithm

0
We are using samlResponse.Validate method for cert validation for IDP initiated login. This method is failing when validating certificate which uses SHA-256 algorithm. We followed instructions in the article for enabling the algorithm https://doc.componentpro.com/ComponentPro-Saml/working-with-sha-256 but it still does not work. We are using .Net 4.8 framework. Do we need to do anything else for cert validation to work?
edited 3/20/2023 1:25:40 PM
asked 3/20/2023 1:24:16 PM
add a comment

1 Answers

0
Hi Winona, When you download our SAML component Pro package. You will see in sample code you will see the Windows app folder named SignAndValidateSHA256 . It contains code for Sign And Validate SHA256 . Then compare your code logic with it. Thanks for contacting us.
edited 3/24/2023 10:31:00 AM
answered 3/24/2023 10:30:36 AM
add a comment

Your Answer

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