question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After resetting password user not able to login

See original GitHub issue

I have successfully reset password with resetPwdLong. But when I try to login again, I get Invalid login.

"feathers": "^2.1.7",
"feathers-authentication": "^1.2.7",
"feathers-authentication-hooks": "^0.1.4",
"feathers-authentication-jwt": "^0.3.2",
"feathers-authentication-local": "^0.4.4",
"feathers-authentication-management": "^1.0.0",
"feathers-authentication-oauth2": "^0.2.5",

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

3reactions
BohdanRusinkacommented, Dec 14, 2017

@eddyystop yep, my bad, I’ve added one more hashing hook for a patch action. Thanks a lot!

2reactions
BohdanRusinkacommented, Dec 14, 2017

@eddyystop So, after sign up the user is created and can successfully log-in. Then he wants to reset password and gets a token in the email (working with postgreSQL). He makes a request to /authManagement route: { action: ‘resetPwdLong’, value: { token: ‘2___cdd0b37de161178e31102f00c226d6’, password: ‘123’ } } Everything is ok. User object is returned. Password is hashed and updated in the DB. Then trying to log-in again - error error: NotAuthenticated: Invalid login I’ve debugged auth library and found that password comparison doesn’t match. It could be a misspelling error, but it is very difficult to da that with 123 password 😃 Do you have any idea what can be wrong?

Read more comments on GitHub >

github_iconTop Results From Across the Web

User fail to login after password reset by admin in Azure AD ...
User fail to login after password reset by admin in Azure AD with on-premise AD. When user sign-in with the reset password, system...
Read more >
I am unable to login after resetting my password
After resetting your UpToDate account password, please wait at least one minute before attempting to log in. You will receive an additional email...
Read more >
I'm having trouble resetting my password - Google Account Help
After you select Forgot password and enter your username, we offer you recovery options in order to access your account. If you can't...
Read more >
Users can't login to the domain after remote password changes
Solution:Install the latest service pack for Windows 2000. However, users will not be able to change or reset their passwords on their own...
Read more >
User Has to Reset Password at Every Login - Salesforce Help
User tries logging into Salesforce with current username and password, but receives the error, "You have attempted to access a page that requires...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found