Error “Timeout awaiting 'request' for 4000ms” Caused by External IdP

Last Updated: Nov 12, 2024

Overview

An external IdP is causing micro outages, taking more than 4000ms to respond, so some of their login flows fail with the following error:

Timeout awaiting ‘request’ for 4000ms

Applies To

  • OIDC connection
  • Timeout error
  • External IdP

Cause

After analyzing the flow and the enterprise connection, this is happening because the external IdP’s discovery endpoint used with the OIDC Enterprise connection (with the back channel configuration) intermittently has long-running operations retrieving time-outs.

The environment does not tolerate await time longer than 4000ms.

Solution

The timeout for calls to the upstream IdP in the context of an OIDC connection is NOT configurable, so there is nothing we can do from our side.