Let user change password on the front end

Problem Statement

We have a requirement to let the user change their password from the front end e.g. from their profile page. How do we achieve this?

Solution

On the profile page, I expect that there will have a link on the profile page called “Change password”.

Once clicked the customer will need to generate a password change ticket with this endpoint Auth0 Management API v2. This will return a url which you would need to redirect the user to. The user can then set the new password and you can then return to the login page. You will also need to ensure you set an Application Login URL which will be your root login page as it comes into play on the change password flow Configure Default Login Routes.