locked
AD Authentication | Passing Credentials RRS feed

  • Question

  • User1089289391 posted

    We are having an ASP.NET MVC Application which is using Windows Authentication (AD).  We have a requirement to integrate this application with an existing WPF Application - essentially both the WPF Application and the ASP.NET MVC App will be authenticating with the same AD.  A Page from the ASP.NET App would be launched from a specific Action on the WPF Application. In this scenario, the customer wants to get a SSO type of experience and does not want the ASP.NET App to prompt for credentials again given that the User would have logged onto the WPF application. Is it possibly to pass the credentials or security token onto the ASP.NET App?

     

     

     

     

    Friday, July 25, 2014 10:53 AM

Answers

  • User-734925760 posted

    Hi,

    According to your description, you can  pass empty strings or null as the parameters of the Validate User method. When using Windows authentication, this method call will always return true.

    There is an aricle about Client Application Services Overview, please refer to the link below:

    http://msdn.microsoft.com/en-us/library/bb384339(v=vs.110).aspx

    Hope it's useful for you.

    Best Regards,

    Michelle Ge

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 28, 2014 4:24 AM