Auth0 API Timeouts

Problem Statement

We are looking for some guidance on the recommended value to be set for Auth0 API timeouts.

Solution

Unfortunately, Auth0 does not have any SLA on latency (as in how long it takes for the API to finish executing and return a response).

Do note that some Auth0 SDKs have default time-out values. For example, the Auth0 Java SDK has a default timeout of 10 seconds. Because of this, we recommend setting a timeout of 10 seconds and extending it as needed if you encounter more timeouts.

Below is an example with the Auth0 Java SDK:

// configure timeouts; default is ten seconds for both connect and read timeouts: 
options.setConnectTimeout(5); 
options.setReadTimeout(15);

If you experience an event that you believe brings you below the Availability Levels, please contact your Auth0 Technical Account Manager.

Reference Materials