AspNetCore.Docs/aspnetcore/security/cookie-sharing/sample
Luke Latham bdb6d7cafc Title, description, and H1 updates (4) (#5745)
* Title, description, and H1 updates (4)

* Updates

* Updates

* Drop gerunds and update link text

* Update

* Update next.md

* Update routing.md
2018-03-21 14:18:35 -10:00
..
CookieAuth.Core Update cookie sharing topic (#5723) 2018-03-20 11:50:36 -07:00
CookieAuthWithIdentity.Core Update cookie sharing topic (#5723) 2018-03-20 11:50:36 -07:00
CookieAuthWithIdentity.NETFramework/CookieAuthWithIdentity.NETFramework Update cookie sharing topic (#5723) 2018-03-20 11:50:36 -07:00
KeyRing Update cookie sharing topic (#5723) 2018-03-20 11:50:36 -07:00
README.md Title, description, and H1 updates (4) (#5745) 2018-03-21 14:18:35 -10:00

README.md

Cookie Sharing Sample App

The sample illustrates cookie sharing across three apps that use cookie authentication:

Project Description
CookieAuth.Core ASP.NET Core 2.0 Razor Pages app without using ASP.NET Core Identity
CookieAuthWithIdentity.Core ASP.NET Core 2.0 MVC app with ASP.NET Core Identity
CookieAuthWithIdentity.NETFramework ASP.NET Framework 4.6.1 MVC app with ASP.NET Identity

Instructions:

  1. Run the CookieAuth.Core app. Register a user. The app authenticates the user when the user is registered. Sign the user out.
  2. In the same browser session, run the CookieAuthWithIdentity.Core app. Register the same user as used with the Core app. The app authenticates the user when the user is registered. Sign the user out.
  3. In the same browser session, run the CookieAuthWithIdentity.NETFramework app. Register the same user as used with the other apps. The app authenticates the user when the user is registered. Sign the user out.
  4. Sign in the user to any of the three apps. The authentication cookie is shared among the apps. Note that the user is automatically signed into the other two apps.
  5. Sign out the user from any of the apps. Note that the user is automatically signed out of the other two apps.

This sample demonstrates the features described in the Share cookies among apps topic.