Time out errors - “Timeout awaiting 'request' for 4000ms”

Problem statement

We are having issues with an external IdP, which 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”

Solution

This error could happen because the external IdP’s discovery endpoint you are using with your OIDC Enterprise connection (with the back channel configuration) is intermittently having long-running operations retrieving time-outs. And the environment does not tolerate an await time longer than 4000ms.

The timeout for calls done to the upstream IdP in the context of an OIDC connection is NOT configurable. Unfortunately, this is not something that can be done on the Auth0 side to get this solved.