Customize Auth0 Sign Up Error Message

When using a pre-registration webhook, there are situations where we don’t want the user to be registered, so we return cb(“Error message content”.

However, the Auth0 lock widget always displays the generic “WE’RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO SIGN UP.”

Is there a way to customize this error message? It should really display whatever error message is returned with the callback in the webhook…

It’s not possible at the moment but this enhancement is considered by the product team and in the product backlog, as this question was often asked. There is no estimated time of delivery for this yet though.