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).

Developer technologies ASP.NET ASP.NET Core
Microsoft Security Active Directory Federation Services
Developer technologies .NET .NET Runtime
Developer technologies C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.