How to display a specific message for bloked users

Hello,

I’m using a custom Auth0 login screen. When a blocked user trys to loggin, he is redirect to another page with the following details:

Message:
{
“error”: “unauthorized”,
“error_description”: “user is blocked”
}

URL:
https://manage.auth0.com/tester/callback?connection=clientes&error=unauthorized&error_description=user%20is%20blocked

I need to change this for a simple message displayed in the login screen, but I’m not getting any succes. Please help!

My login code:

webAuth.login({
realm: ‘clientes’,
username: document.getElementById(‘text’).value,
password: document.getElementById(‘password’).value
}, function(err){
if (err) {
(…)
});

A post was merged into an existing topic: Is It possible to customize Blocked user page?