We have two separate ASP.NET MVC 5 apps, App A and App B, that have their own respective database which uses ASP.NET Identity for authentication.
We would like to have a separate app that acts as a central login for both apps. In other words, users would navigate to login.xyz.com to login with their username and password. Once they submit their login information, the app would check both databases for App A and App B to see which one they belong to. (Users will only ever be active in one db at a time). Depending on the db that they are found active in, we would then redirect them to the respective app app-a.xyz.com or app-b.xyz.com.
I'm not very familiar with ASP.NET Identity and honestly don't have much of a clue where to start. Any guidance or tips in the right direction would be much appreciated. I'm not looking for a full solution, just a good starting point. If I need to provide further information or clarification, please let me know.