I extended the IdentityUser by adding a field and make it as ApplicationUser and use the UserName instead of Email in login using the code below
- var result = await _signInManager.PasswordSignInAsync(Input.UserName, Input.Password, Input.RememberMe, lockoutOnFailure: true);
But the problem is result.Succeeded is always equals to False even if I enter the correct UserName and Password..

Amit MohantyRank #112 · 20K reputationPosted Jan 22, 2020, 12:54 PM EST
Guest User96 reputationPosted Jan 22, 2020, 1:08 PM EST
Priyadharshini Ravi6 reputationPosted Apr 14, 2021, 12:11 PM EDT
Rijwan AnsariRank #82 · 24.2K reputationPosted Apr 14, 2021, 12:33 PM EDT