Redirect user to password change right after first login

Hi everyone

I’m super new to Auth0 and struggeling to finally set up our login page.
I would like to create a rule, that users which are logging in for the first time, are immediately redirected to change their password. So we would provide them a login for the first login and then after that they should change their password.
Can anyone help me with this issue?
Thanks, and consider I’m a super newbie : )

Hi @cbafo, welcome to the community!

Rather than giving your user a password when setting them up for the first time, I would recommend creating them with some random password, and then either triggering a password reset email, or send them an invite email with a password reset ticket you had pre-generated within the ‘invite’ email.

This way they have to
a.) Have access to the email assigned to their account
b.) Have to set their own password before they can login for the first time

This documentation goes into a bit more detail:

1 Like

Thank you very much for your answer!
This sounds like a good option for me and i will try to implement it.

1 Like

Let us know if you have any other questions down the road!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.