Checking current password in change password workflow

Hello,

We are using Auth0 for change password, which we do a path request to the user. We were wondering if there is a way to check the current password before updating the password. Is there is a specific API for this type of request? If someone else has solved this, can you please let us know how you have done so. We use a rails api and client side javascript for UI rendering.

Thanks,
Shyam

1 Like

I believe we can not see current password at auth0. I tried this using many ways but couln’t find anything.

What is the recommended path here?

Here is the scenario:
My profile page has 3 password fields for updating the user’s password:

  1. Old password (re-authenticate before sensitive things are done)
  2. New Password
  3. Confirm Password

^^ This is a very standard flow that you will find one many popular websites.

As far as I can tell there is no obvious way to achieve this flow using Auth0’s API unless you go through their custom pages which is not great if you have a single page app.

Does auth0 support this flow? If it doesn’t, why not?