SignInAsync vs AuthenticateAsync
问题 I finally got my login-method with JWT Token Authentication working. Here I'm calling await HttpContext.SignInAsync( CookieAuthenticationDefaults.AuthenticationScheme, ClaimsPrincipalFactory.CreatePrincipal(claims), authProps); I also called await HttpContext.AuthenticateAsync(CookieAuthenticationDefaults.AuthenticationScheme); In the example I read that I only need the SignInAsync . So I tested it and removed AuthenticateAsync . But still, User.Identity.IsAuthenticated returns true . Is it