Match the ASP.NET 4.x cookie name with the AuthenticationScheme created at first section (#3760)

* Match the ASP.NET 4.x cookie name with the AuthenticationScheme created at first section

* CookieName for Identity
pull/3860/head
Felipe Pessoto 2017-08-01 14:21:11 -03:00 committed by Rick Anderson
parent dd52e42538
commit e09394c51f
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ To share authentication cookies between your ASP.NET 4.x applications and your A
{
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
CookieName = ".AspNetCore.Cookies",
// CookieName = ".AspNetCore.ApplicationCookie", (if you're using identity)
// CookiePath = "...", (if necessary)
// ...
TicketDataFormat = new AspNetTicketDataFormat(