Overriding error handling in an IdP connection
You can override how incoming errors are handled before they’re relayed to the requesting application or partner.
About this task
You can optionally enable Passthrough Errors, and PingFederate will include the error message from the identity provider (IdP) in three main places:
-
User-Facing Errors: Rendered in PingFederate’s error templates.
-
Error Redirects: Sent as the
errorDetailquery parameter when redirecting toInErrorResource. -
Protocol Responses: Used in downstream protocol responses, specifically:
-
Security Assertion Markup Language (SAML): The
<StatusMessage>element. -
OpenID Connect (OIDC): The
error_descriptionparameter. -
WS-Federation: The
<Fault>element.
-
Steps
-
In the PingFederate administrative console, go to Authentication > Integration > IdP Connections.
-
Click the name of the connection to open it in the IdP Connection window.
-
On the Activation & Summary tab, scroll down to the Protocol Settings section, then click Overrides.
-
On the Overrides tab, in the Error Handling section, select the Passthrough Errors checkbox.
-
Click Save to complete the configuration.
Alternatively, click Next to carry on with the rest of the connection settings.