c# - Multiple MVC5 websites using a single website for authentication (ASP.NET Identity v2) -


looking guidance on using asp.net identity provide single location logon / authentication across number of sites (that subdomains of common domain).

the current setup have 2 websites:

  • site1.example.com
  • site2.example.com

they present different views of system users, , share same backend database, , therefore same asp.net identity tables. logging on via either site logs on via same db.

what want unify logon process via third site:

  • auth.example.com

the idea being user visits site1.example.com, clicks login button, redirected auth.example.com, performs log in, , redirected site1.example.com.
if navigated site2.example.com, nice if seen authenticated already.

what seem looking single sign on. https://github.com/thinktecture/thinktecture.identityserver.v3 1 , open source. think supports asp.net identity user service well.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -