ASP.NET Single Sign On
<p>We have two servers that run on the same machine under the same domain.</p>

<p>Both written in ASP.NET and uses the Identity framework.</p>

<p>I need to implement Single Sign-On (and single sign out) between them.</p>

<p>Actual sign-in is done in AJAX (I <em>POST</em> the username and password, the server authenticate the user and sets the session, then sends the redirect data URL to the client).</p>

<p>I found overwhelming amount of information about OWIN, the Identity framework, Claims, etc.</p>

<p>I found tutorials explaining how to create projects using just about any modal dialog and any Wizard there is in Visual Studio, which I tried to understand but really is useless to me, as I already have authentication system up and running.</p>

<p>I even found some demos claiming to implement SSO in all kinds of ways, and some Stackoverflow questions that said to simply put this and that values in the <em>web.config</em> and you're done, which seemed strange to me and I figured out I'm missing some basic understanding of how it works.</p>

<p>Still, I can't understand how SSO works in ASP.NET Identity.</p>

<p><strong>Can someone please explain it to me in a simple manner, or refer me to some kind of such explanation?</strong></p>

<p>Again: I have two authentication systems up and running. What code and/or configuration changes I need to make to get Single Sign-On working?</p>