Validating SAML response in Dot Net Core API
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).