HttpContext.Authentication.SignOutAsync does not delete auth cookie

前端 未结 8 1050
温柔的废话
温柔的废话 2020-12-10 10:16

According to ASP.NET Core documentation the method HttpContext.Authentication.SignOutAsync() must delete the authentication cookie as well.

8条回答
  •  悲哀的现实
    2020-12-10 11:02

    I've got the same problem. SignOutAsync does not work as should .

    I found this:

    Response.Cookies.Delete(".AspNetCore.");
    

提交回复
热议问题