# Customize Password Reset email template's successMessage with embedded html link

**URL:** <https://community.auth0.com/t/customize-password-reset-email-templates-successmessage-with-embedded-html-link/81712>\
**Category:** Get Help\
**Tags:** email-template, auth0\
**Created:** [April 13, 2022, 5:22pm UTC](https://community.auth0.com/t/customize-password-reset-email-templates-successmessage-with-embedded-html-link/81712 "2022-04-13T17:22:08Z")\
**Posts on this page:** 5\
**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:** [April 13, 2022, 5:22pm UTC](https://community.auth0.com/t/customize-password-reset-email-templates-successmessage-with-embedded-html-link/81712/1 "2022-04-13T17:22:08Z")

</div>

Hi Auth0 Community,

I am trying to customize the Password Reset email template’s successMessage to render an embedded html link however the html link is displayed as raw text, not as html link.

Please advise.

dict: {  
successMessage: “Your password has been set successfully. Return to portal [HTML LINK]”,

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 14, 2022, 4:35pm UTC](https://community.auth0.com/t/customize-password-reset-email-templates-successmessage-with-embedded-html-link/81712/3 "2022-04-14T16:35:38Z")

</div>

Hi @kewong,

Welcome to the Auth0 Community!

This field only accepts a string and will print the value passed as a string (i.e. passing `<a href="https://auth0.com">Auth0</a>` will print the whole HTML tag as a string.

In order to get around this, you could use javascript to manipulate the DOM. See this thread:

> [@Links in Lock messages rendered as text](https://community.auth0.com/t/links-in-lock-messages-rendered-as-text/17967):
>
> On the password reset page we’re adding successMessage: "Lorem ipsum https://www.google.com" The link renders as text. Why, and how can we make it render the link properly? Using HTML to wrap the link doesn’t work. Is there documentation that explains what is / isn’t allowed?

---

<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:** [April 14, 2022, 4:52pm UTC](https://community.auth0.com/t/customize-password-reset-email-templates-successmessage-with-embedded-html-link/81712/4 "2022-04-14T16:52:02Z")

</div>

Thank you very much Dan.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 14, 2022, 4:58pm UTC](https://community.auth0.com/t/customize-password-reset-email-templates-successmessage-with-embedded-html-link/81712/5 "2022-04-14T16:58:14Z")

</div>

No problem. Let me know if you have any questions!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [May 25, 2022, 9:31pm UTC](https://community.auth0.com/t/customize-password-reset-email-templates-successmessage-with-embedded-html-link/81712/6 "2022-05-25T21:31:34Z")

</div>


