Hi @adale,
Welcome to the Auth0 Community!
It sounds like you may be using Classic Universal Login, which doesn’t support passing the error in the same manner as New Universal Login. Here is an example of what each would look like:
New Universal Login
Classic Universal Login