How to return error from Auth0 hooks

Just wanted to let anyone finding this thread now that it is now possible to propagate an error message from the pre-registration-hook (but only in the new universal login): https://auth0.com/docs/hooks/extensibility-points/pre-user-registration#sample-script-customize-the-error-message-and-language-for-user-messages

1 Like