Auth0 Home Blog Docs

Auth0 setting to force password reset after first login?

lock
auth0
login

#1

Very precisely, Is there a setting that I can provide for specific users so that they see a password reset form the first time they log in to the app?

Sure, I can send the password change ticket instead of sending the randomly generated password to the user and subsequently, asking him to log in and change the password but the legal at my firm are not up for it.


#2

Just spitballing here … add an attribute like reset_password: true to the user’s profile, and add a rule (hook?) that looks for that attribute, redirecting them to the PW reset. PW reset will need to set reset_password: false. Not sure if this can actually be done.


#3

Nice idea but I don’t really think I can pop open the reset password dialog just because I couldn’t find how to do that. Saving the reset_password key and adding a rule part is clear. Redirecting to PW reset is not. Thanks anyway.