# Embedded password reset UI not used in e-mail flow

**URL:** <https://community.auth0.com/t/embedded-password-reset-ui-not-used-in-e-mail-flow/21795>\
**Category:** Get Help\
**Created:** [February 26, 2019, 1:47pm UTC](https://community.auth0.com/t/embedded-password-reset-ui-not-used-in-e-mail-flow/21795 "2019-02-26T13:47:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![petar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/petar/32/14919_2.png) [@petar](https://community.auth0.com/u/petar)\
**Post date:** [February 26, 2019, 1:47pm UTC](https://community.auth0.com/t/embedded-password-reset-ui-not-used-in-e-mail-flow/21795/1 "2019-02-26T13:47:33Z")

</div>

Hello,

Due to the fact that I cannot customize the password reset page based on applicationId and/or user app\_metadata I was planning on going with embedded one (basically copy/paste the stock HTML and customize it slightly).

I am not sure how to get the email flow to use my custom urls.

For example I need the password reset e-mail to have a link to `https://my-domain/reset?ticket=WaCHJygkSnLEGolDnUib0kwKI27A3tRP#` instead I get the default `https://xxxxx.auth0.com/lo/reset?ticket=WaCHJygkSnLEGolDnUib0kwKI27A3tRP#` in the e-mail.

Any pointers would be greatly appreciated.

Best regards,

Petar

---

<div class="post-metadata">

**Author:** ![nicolas\_sabena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicolas_sabena/32/6064_2.png) [@nicolas\_sabena](https://community.auth0.com/u/nicolas_sabena)\
**Post date:** [February 26, 2019, 5:23pm UTC](https://community.auth0.com/t/embedded-password-reset-ui-not-used-in-e-mail-flow/21795/3 "2019-02-26T17:23:10Z")

</div>

Hi @petar.  
It’s not possible to change the URL for the password reset email. Basically, to use the default password reset flow you’ll need to use the hosted password reset page.

What you can do is change the `forgotPasswordLink` option in Lock (see [docs](https://auth0.com/docs/libraries/lock/v11/configuration#forgotpasswordlink-string-)) so that the user is taken to application you control. In the application backend you can use the [Update user endpoint](https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id) to change the password. This is more involved, of course, because if the user is not logged in you will need to verify the identity somehow (like Auth0 does in the built-in password reset flow, by sending an email to the user containing the link to continue).

---

<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 13, 2019, 5:23pm UTC](https://community.auth0.com/t/embedded-password-reset-ui-not-used-in-e-mail-flow/21795/4 "2019-03-13T17:23:10Z")

</div>

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