Custom error page based on IDP used

We want to provide a dedicated error page for a specific OpenID IDP that we have.
In that sense if we show the error page for default username/password it’s okay for it to be the default error page, however for that specific IDP we want to provide a bit more information about known issues and how to solve them.

How would we be able to identify this? Do we have access to the REFERER?

Hi @Threesa

Welcome to the Auth0 Community!

Please allow me some time to research this matter and I’ll be back with more information as soon as possible.

Thank you,
Gerald

Hi @Threesa

Thank you for your patience on this!

After doing some research, my recommendation would be to use the connection parameter in order to render a custom error page depending on the Connection from which the user originates. In the instance that Auth0 redirects the user to a custom error page, it appends a list of parameters to the URL string that can be used to apply logic based on them, including the connection parameter.

Hope this helped!
Gerald

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.