Auth0 Home Blog Docs

Missing client id query parameter on custom error page

auth0
error
custom
error-page

#1

Hi everyone

I ran into the problem that the client id is not passed as a query parameter to the custom error page. There are error and error_description query parameters, but client id is empty.

I use this method

What could be the problem?
Thanks


#2

There are scenarios where the error page might be called where the client ID is unknown. Can you give an example where this is happening? I just tested this out in my own tenant, and anytime I call /authorize or /login and pass a client_id parameter, (and intentionally create an error that goes to the error page), I had the client_id. Obviously, if I called /authorize or /login without a client_id I don’t get one, but I do still get the client_id parameter, but the value is empty.