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

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]”,

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="">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:

Thank you very much Dan.

1 Like

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