1

We have Service Provider which requires SAML assertion to be done by SP Initiated. We need to enable our web application which is ASP.Net MVC C# to perform SP -Initiated SSO. The flow which we are looking at is

Web Application -> Clicks Link to access Resource -> Goes to SP -> SP Redirects to IDP(i.e. our Web Application) -> Validate the User-> HTTP POST-> Access SP Site

Can we stimulate this flow from c# code,the challenge we are facing is how to relay state back to SP when we validate the user.

Hafeez Khan
  • 427
  • 2
  • 6
  • 22

2 Answers2

0

I don't recommend you roll your own.

Rather implement a SAML stack.

Refer: SAML : SAML connectivity / toolkit.

rbrayb
  • 46,440
  • 34
  • 114
  • 174
0

You need to follow the SAML standards. In there you need to setup assertion consumer service, which is callig from IDP once the user get validated and authenticated.

Darshani Jayasekara
  • 561
  • 1
  • 4
  • 14