# Not able to handle reset password at my domain

**URL:** <https://community.auth0.com/t/not-able-to-handle-reset-password-at-my-domain/9063>\
**Category:** Get Help\
**Tags:** redirect-to, change-password\
**Created:** [December 26, 2017, 6:22pm UTC](https://community.auth0.com/t/not-able-to-handle-reset-password-at-my-domain/9063 "2017-12-26T18:22:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish.ranjan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ashish.ranjan](https://community.auth0.com/u/ashish.ranjan)\
**Post date:** [December 26, 2017, 6:22pm UTC](https://community.auth0.com/t/not-able-to-handle-reset-password-at-my-domain/9063/1 "2017-12-26T18:22:14Z")

</div>

I have an existing application. For integrating reset password flow, I am calling **dbconnections/change\_password**. Which triggers an email.  
On click on the email user gets redirected to auth0 for reset password. Instead I want user to be redirected to my application.  
In order to achieve this, I changed the {{url}} value to **[https://mydomain/resetpassword](https://mydomain/resetpassword)** in change password email template.  
Instead of this url, I want my url to look something like this **[https://mydomain/resetpassword?access\_token=xyzxyzxyz](https://mydomain/resetpassword?access_token=xyzxyzxyz)**. So that I can authenticate user at my end and can redirect him to his dashboard.  
What can I do to append auth0 user\_id or access\_token to the url.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [December 26, 2017, 6:55pm UTC](https://community.auth0.com/t/not-able-to-handle-reset-password-at-my-domain/9063/2 "2017-12-26T18:55:54Z")

</div>

The use of `/dbconnections/change_password` implies the use of the hosted reset password page to complete the password reset process. Upon completion of the process it is possible to configure a redirect URL that returns the end-user to a specific URL you provided, but the actual change password process needs to be completed in the hosted page.

Have in mind that you can customize the appearance of the reset password page to a certain degree (see [https://auth0.com/docs/hosted-pages/password-reset](https://auth0.com/docs/hosted-pages/password-reset)). The final redirect URL that would take the user back to your client application can be configured at the email template level through the \_ Redirect To\_ field.

In conclusion, you can’t do what you suggested; you can either leverage the reset password flow through the hosted reset password page or implement the full flow yourself (not recommended) which would mean you would not be using the `/dbconnections/change_password` endpoint or the built-in email template.

---

<div class="post-metadata">

**Author:** ![ashish.ranjan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ashish.ranjan](https://community.auth0.com/u/ashish.ranjan)\
**Post date:** [December 26, 2017, 10:46pm UTC](https://community.auth0.com/t/not-able-to-handle-reset-password-at-my-domain/9063/3 "2017-12-26T22:46:22Z")

</div>

So what is the way to implement signup and reset password, If I want to keep control in my application.  
If implementing the full flow is the only option, then which approach I need to follow to get both the functionalities in action.  
Please guide.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [December 29, 2017, 10:54pm UTC](https://community.auth0.com/t/not-able-to-handle-reset-password-at-my-domain/9063/4 "2017-12-29T22:54:44Z")

</div>

Part of the reason I said that it would be not recommended was that you would be on your own in terms of implementation and support. It makes no sense for us to have a reset password flow and then be suggesting how to perform custom approaches that could be implemented with less security than the built-in 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:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/not-able-to-handle-reset-password-at-my-domain/9063/5 "2018-03-02T05:57:56Z")

</div>


