Links in Lock messages rendered as text

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?

Hi there @hannes!

successMessage only accepts a String so adding a html tag would only not render it as HTML properly and rather display as plaintext only.

t’s not easy to implement it the way you want but you can “hack” the page with javascript and modify the content during runtime (DOM Manipulation). If it is to redirect users back to your app, you can use the Redirect To field in Password reset email template: https://auth0.com/docs/email/templates#change-password-confirmation-email

Hope it helps!

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