Error and error_description in the callback

Hi all, I’m trying to figure out how the error codes are given back to the callback url. According the documentation the error code query string is quite limited and the description should be put into the errorDescription query parameter.

However, if I block a user in the Dashboard and do a login I get:

services/authcallback/SAMPLE?error=unauthorized&error_description=user%20is%20blocked&state….

But this error code is not defined in the error list ?
Do I miss something ?

Hello @andries.neyens,

Welcome to the Auth0 community!

When an user is blocked from the dashboard, the message is returned in the URL to the application’s callback endpoint.

Please check the following Knowledge solution that delves deeper into the issue and should help you with your situation: How to Customize Error Message Returned to Application Callback Endpoint

I hope this helped you and if you have more questions please return to the community.

Thanks,
Tudor

Thanks for reaching out Tudor.
But the question is more the structure:

error=unauthorized

According the OAuth 2.0 specifications, with the additions of the OpenID Connect, this error code does not exists. Only unauthorized_client…