You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
I recently posted a question on stackoverflow, adding it here as well. Not sure if its a bug or if it is something i have done wrong.
Basicly when i call Usermanager.ResetpasswordAsync i get success, but when i try to login it fails.
Also it seem to be something wrong with the Password validation, i had to turn off all the
IdentityOptions.Password.Require*
Because it complained about not having Uppercase characters, even if it did.
From the stack overflow post it looks like you are mixing your own cookie options with identity. In RC1 the application cookie options are now part of IdentityOptions you should be setting them via: identityOptions.Cookies.ApplicationCookie
I get the stackoverflow post was a bit confusing, i did try several things to make it work. I have reproduced the issue in this repo https://github.com/lasrol/EmptyDB/
You are trying to reset the password and then log in with the new password? Can you try it explicitly via the user manager APIs to see if those are doing the right things. There are many reasons that could cause the app cookie to not be valid which would look like login failed.
Same thing with the password validator, there are many things that could cause the update to fail on the user. Can you explicitly call the apis and see if they work for you, i.e. try ChangePassword and ResetPassword after manually generating a token inline right before calling the ResetPassword API
I am sorry, it was a big mistake on my part and i cannot belive i didn't see it! I was not passing in the correct variable to ResetPassword API. Sorry to take up your time.
I recently posted a question on stackoverflow, adding it here as well. Not sure if its a bug or if it is something i have done wrong.
Basicly when i call Usermanager.ResetpasswordAsync i get success, but when i try to login it fails.
Also it seem to be something wrong with the Password validation, i had to turn off all the
IdentityOptions.Password.Require*
Because it complained about not having Uppercase characters, even if it did.
More infor about the settings in this question http://stackoverflow.com/questions/34244367/identity-3-reset-password-unable-to-login
The text was updated successfully, but these errors were encountered: