AspNetCore.Docs/aspnetcore/security/cookie-sharing/sample
Luke Latham 2fe9ca8744 Remove previous Identity Core sample app (#9115)
Fixes #9114 

We're going to keep the cookie sharing auth samples over here on the docs repo and **not** move them to the AuthSamples repo. We don't need to keep the previous Identity Core sample (and it's not linked to anything).
2018-10-18 12:35:06 -10:00
..
CookieAuth.Core Drop version from App package (#8881) 2018-10-06 17:10:28 -10:00
CookieAuthWithIdentity.Core Drop version from App package (#8881) 2018-10-06 17:10:28 -10: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 Add subdomain config in cookie sharing topic (#7791) 2018-07-24 13:33:07 -05: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 Razor Pages app without using ASP.NET Core Identity
CookieAuthWithIdentity.Core ASP.NET Core MVC app with ASP.NET Core Identity
CookieAuthWithIdentity.NETFramework ASP.NET Framework 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.