SAML request for SSO from Service provider to ADFS in asp.net C# RRS feed

  • Question

  • User296222906 posted

    Could you please share how to do SAML request from asp.Net Client application to ADFS server? Is there need any other configuration in client side?

    In our case the ADFS server already configured, we need to implement that SSO in our asp.net application using SAML request. Could you please share your knowledge?

    Friday, February 5, 2016 11:17 AM

All replies

  • User-2057865890 posted

    Hi alenjose007,

    SAML 2 IdP - Initiated Web Example for ASP.NET MVC

    This example demonstrates how to create a SAML 2 IDP - Initiated application for ASP.NET MVC. This example includes both ASP.NET MVC and ASP.NET MVC 4 solutions.In order to build the sample project, you need the commercial Ultimate SAML library which can be downloaded at Ultima.

    SP - Initiated Web Applications

    Processing Steps:

    1. A user request access to a protected resource on the SP site. If the user is not logged in, SP redirects him or her to the IdP to handle authentication. SP also sends an authentication request to the IdP site.

    2. The user presents his or her credentials to log in at the IdP.

    3. If the user credentials are correct, IdP sends a SAML response containing the authentication assertion and any attributes back to the SP site.

    4. The SP validates the message. If the signature and assertion is valid, the SP uses the information in the SAML Response to perform an automatic login.

    An open source ASP.NET SAML2 Service Provider

    Best Regards,

    Chris Zhao

    Friday, February 5, 2016 5:13 PM
  • User296222906 posted

    Hi Chris

    Thanks for the detailed description.

    I have a query regarding this,

    In the SP initiated Web Applications, Is it a post request from SP to Idp(ADFS) for handle authentication?


    Alen Jose

    Tuesday, February 9, 2016 11:44 AM