Custom “user-blocked” error messages configured via Prompt Custom Text are not displaying in Universal Login when users with blocked = true attempt to log in. Instead, users are redirected to the application with error parameters in the URL.
Expected Behavior
When a manually blocked user (blocked = true) attempts to log in, they should see the custom “user-blocked” message directly in the Universal Login interface, similar to how “wrong-credentials” messages are displayed.
Actual Behavior
-
User enters credentials on
/u/login/identifier -
User proceeds to
/u/login/password -
Auth0 immediately redirects to
/?error=unauthorized&error_description=user is blocked&state=... -
Application redirects back to Auth0
-
No custom error message is ever displayed in the login interface
Please clarify:
-
Should blocked users see custom “user-blocked” messages in Universal Login?
-
If yes, what configuration is missing to make this work?
-
If no, what is the recommended approach for displaying custom messages to blocked users?
Thank you !