Use CreateIdentityAsync method from UserManager class instead of creating ClaimsIdentity by yourself. For instance, in ...
Lee mas