Search code examples
c#asp.netmembershipsingle-sign-on

How do I use single login for multiple web apps


I want to log in for 1 application and use the same login token to authenticate the second application. I have used the same application name so both applications use the same membership provider.....

I have 2 web applications, using asp.net 3.5, c#, hosted in IIS 7.0. I use the aspnet_membership provider for authentication/authorization

They are hosted side by side as 2 seperate applications . The question is can I log in for 1 application and be authenticated for the other by using the same log in....

Thanks in advance

Stuart


Solution

  • The technology behind Single Sign-On solutions cannot be explained in a few lines of code, it requires some reading/studying to look at the alternatives and how to implement them.

    For instance you could take a look at this article about Single Sign-On using Active Directory Federation Services.

    UPDATE:
    Here is a blogpost about Single sign-on with Forms Authentication.