I’ve followed this post on how to redirect users after a password reset (thanks, Dan), and it’s working as expected. However, one item I can’t sort out is how to customize the text of the button to navigate to the application. The title right now is “Back to All Applications” where what I’d like to do is to have a specific application name or a custom text. Is this possible?
Hi @sean.feldman ,
Thank you for posting this query on Auth0 Community!
We can use the Auth0 Management API to customize the texts of the reset password prompt Customize New Universal Login Text Prompts with scripts like
{
"reset-password-success": {
"buttonText": "back to my application"
}
}
Hope this helps!
1 Like
Thank you, @lihua.zhang.
I’ve tried exactly that
{
"reset-password-success": {
"buttonText": "Back to ISC Website"
}
}
and getting the following error:
{
"statusCode":400,
"error":"Bad Request",
"message":"Invalid screen \"reset-password-success\".",
"errorCode":"invalid_body"
}
Not sure if you used the correct endpoint. This is the endpoint I called and it works. https://{domain}/api/v2/prompts/reset-password/custom-text/en
2 Likes
I had a typo in the url. Thank you so much, @lihua.zhang
1 Like