Checking current password in change password workflow


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.


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