# Does Auth0.js v9 Reference have change password feature?

**URL:** <https://community.auth0.com/t/does-auth0-js-v9-reference-have-change-password-feature/90718>\
**Category:** Get Help\
**Tags:** password-reset\
**Created:** [September 15, 2022, 4:53pm UTC](https://community.auth0.com/t/does-auth0-js-v9-reference-have-change-password-feature/90718 "2022-09-15T16:53:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kewong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kewong/32/33237_2.png) [@kewong](https://community.auth0.com/u/kewong)\
**Post date:** [September 15, 2022, 4:53pm UTC](https://community.auth0.com/t/does-auth0-js-v9-reference-have-change-password-feature/90718/1 "2022-09-15T16:53:23Z")

</div>

Hi Auth0 Community,

In Auth0.js v9 reference ([Auth0.js v9 Reference](https://auth0.com/docs/libraries/auth0js)), the changePassword is to send user email to reset password and how does the actual changing old password to new password is performed? Thank you

If attempting to set up a password reset functionality, you’ll use the `changePassword` method and pass in an “options” object, with a “connection” parameter and an “email” parameter. The user will then receive an email which will contain a link that they can follow to reset their password.

```auto
$('.change_password').click(function () {
    webAuth.changePassword({
      connection: 'db-conn',
      email: 'foo@bar.com'
    }, function (err, resp) {
      if(err){
        console.log(err.message);
      }else{
        console.log(resp);
      }
    });
  });

```

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [September 30, 2022, 7:27pm UTC](https://community.auth0.com/t/does-auth0-js-v9-reference-have-change-password-feature/90718/4 "2022-09-30T19:27:55Z")

</div>

Hi @kewong ,

I noticed that you opened a Support ticket for the same query. I am sharing the solution/answer that our Support team provided. Please see below:

This is the only way to change the password, by creating a ticket that will send an email to a user asking for a password change, you can do the same via calling:

- https://{auth0\_domain}/api/v2/tickets/password-change
- or
- https://{auth0\_domain}/dbconnections/change\_password

But in all the cases, it will send a “ **reset your password email** ” to a user to change the old password for a new one.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 14, 2022, 7:28pm UTC](https://community.auth0.com/t/does-auth0-js-v9-reference-have-change-password-feature/90718/5 "2022-10-14T19:28:01Z")

</div>

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