How to Validate Azure AD SAML 2.0 Assertion in C# using ITfoxtec Identity SAML 2.0 library

323 Views Asked by At

My project technology is ASP.NET Webforms (.NET framework 4.6.2). We are using "ITfoxtec Identity SAML 2.0" library for Azure AD SAML Authentication. The sample code present in Itfoxtech website was helpful but, my manager asked me, how you are validating saml assertion once user login was successful? But, I didn't find any documentation regading validating saml assertion when user login successful. can you please let me know how to do that? I am not aware of SAML before, hence, could you please explain in details?

Validating Azure AD SAML Assertion in ASP.NET Webforms applicaiton

1

There are 1 best solutions below

0
On

The SAML 2.0 assertion is part of the SAML 2.0 authn response sendt from Azure AD. The ITfoxtec Identity SAML 2.0 library validates the authn response and the assertion. By validating the signature(s), issuer, audience and time.