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?
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.