Do you use EF? If so, you should not add AspNetRoles, AspNetUserClaims, AspNetUserLogins, and AspNetUserRoles to your edmx.
In addition, I always use the Login method, as shown below. If I need to save some information (e.g. userRole, userName, etc.), I use Session as shown below.
public async Task<ActionResult> Login(LoginViewModel model) { if (!ModelState.IsValid) { return View(model); }
Therefore, you can try
await SignInManager.PasswordSignInAsync
or
await SignInManager.SignInAsync
source share