How do I implement multiple login/logout-domains, single main domain in ASP.NET and forms authentication?
-
24-10-2019 - |
Pergunta
I want to have several domains A, B, C where a user can enter his username and password to login to a common main domain D.
So the user goes to A, B or C, enters his username and password, clicks the "login" button, and is then on the main domain D in a logged in/authenticated state. Then the user does the things he wants to do, and then clicks the logout-button and is then returned to the original domain that he came from, be it A, B or C.
What is the best way to do this?
I currently use forms authentication in ASP.NET 4.0 (C#).
Thanks,
Solução
The feature you need is called Single Sign-On
.
Look for it on SO and you find how to do it.
Take a look at http://aspalliance.com/1545_understanding_single_signon_in_aspnet_20.all
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow