Support for redirection to IDP error handler