Single Sign On with 3 applications
Posted
by John H.
on Stack Overflow
See other posts from Stack Overflow
or by John H.
Published on 2010-05-17T20:12:27Z
Indexed on
2010/05/18
18:20 UTC
Read the original article
Hit count: 200
I'm building three web applications in .NET that will all share a users database and login information. Lets pretend that application 1 is the "parent" application and applications "A" and "B" are the "child" applications. All users have to be logged into application 1 to have access to applications A and B.
Authorization, Authentication, and MachineKey sections of all web configs are present and work correctly.
I have the correct web.config settings in all applications to achieve Single Sign On except one problem remains: what do I put in the "loginUrl" attribute of the forms tag in Applications A and B.
Assume that the url for the login to application 1 is "www.johnsapp.com/login.aspx" How can I get applications A and B to send the user back to application 1 for authentication using only settings in web.config?
© Stack Overflow or respective owner