Reset Password in Headless #13034
Replies: 3 comments 3 replies
-
I don't think so, @Skrypt correct me if I'm wrong |
Beta Was this translation helpful? Give feedback.
-
No there is no endpoint to recover password for admin. However it's achievable same way as in ASP.NET Identity, as OC implements ASP.NET Identity |
Beta Was this translation helpful? Give feedback.
-
It seems that you are looking for self service password reset functionality. There is no built in feature. However Admin can reset password for user. You can implement self service password reset functionality using custom module. You need to implement generating password reset token and/or send token via email. You can inject password manager in your controller and use var token = await _userManager.GeneratePasswordResetTokenAsync(user); And send token via email and implement action/url that reads token and reset user's password by calling var resetPassResult = await _userManager. ResetPasswordAsync(user, resetPasswordModel.Token, resetPasswordModel.Password); |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Working with a Headless solution is there any endpoint to recover password or something like that ?
Bests
Beta Was this translation helpful? Give feedback.
All reactions