c# - ASP.NET Identity Provider SignInManager Keeps Returning Failure -


I have an issue with standard ASP identity provider for MVC5. As soon as I log in to the method: / P>

  Wait for SignInManager. Password Sign InSync (Model Email, Model Password, Model. Remember, Should, Lockout: Wrong);  

There is a failure coming back so I started debugging, using:

  UserManager.FindByEmail (model.Email);  

This gives a valid UserID to try to log in to my user. Then I used it:

  SignInManager.UserManager.CheckPassword (UserIDObtainedFromFind, model.Password);  

And it gives the correct, which means that the password I provide is valid ....

How to find any ideas about debugging the SignInManager.PasswordSignInAsync method Where can it fail?

Close the SignInManager.PasswordSignIn username, you should check that the username is the same as the email You are passing.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -