Callback URL catch Error

Hi Team,

I understood that after succesful login by the user, auth0 redirects to callback Callback URL.

What about error case? I entered wrong password. So login fails. will it redirect to the same url? How to capture that request details?

I’m using this below sample app. Here where can I catch the error and its request object of HTTP.

As you can see in the screenshot you posted, this error will return to the login page. This is the case for some of the errors that occur before authentication. If you are returning errors from a rule (e.g. returning an unauthorized error for a user from a certain email domain), then those will go to your specified redirect URL.

This page has examples of both: