Validating SAML response in Dot Net Core API

NARESH NAMA 1 Reputation point
2021-01-16T18:14:56.487+00:00

Team, following is the requirement

We have a SPA, the user will be authenticated with organizations ADFS IdpInitiatedSignOn. Upon successful authentication the ADFS sign on page responds with a encrypted SAML. This SAML response will be passed onto the Dot Net Core Web API (hosted in openshift).

Now the requirement is the SAML must be validated in the Dot Net Core Web API before proceeding for authorization.

Please let us know how to achieve this functionality

Below is the high level flow.

SPA-->ADFS IdpInitiatedSignOn-->SAML response-->SPA-->SAML Response to Dot Net Core API--> (validate the SAML in the Dot Net Core API).

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,207 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,363 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
{count} votes