Description
Disable password reset on a user
Problem
Using the FusionAuth-hosted login page, I want to only allow a user to login with an Idp or a SAML provider. I could disable credential login by removing the login form, and setting the password to a random value the user is not aware of, but this would not prevent them from attempting to change their password.
This would be helpful if you had customers who want to effectively force SSO while preventing users from changing their passwords.
Solution
Provide an option to disable a user from changing their password.
Alternatives/workarounds
- As stated above, remove the login form and set the user's password to a random value. Remove all references to the forgot password page.
- Add an alert whenever someone starts the password reset process that automatically locks their account: https://fusionauth.io/docs/extend/events-and-webhooks/events/user-password-reset-start
- Add a transactional
user.login.success
webhook that disallows logins that are not of the appropriate type.
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
How to vote
Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.