Auth0 Error "something went wrong: Failed to fetch remote document: Internal error"

Overview

An error occurs when Auth0 cannot reach the JSON Web Key Set (JWKS) URL from the Identity Provider (IdP) due to firewall restrictions. Configure the IdP firewall to allow Auth0 IP addresses to resolve this issue. The following error occurs during this process:

 

something went wrong: Failed to fetch remote document: Internal error

 

Applies To

  • Auth0
  • Identity Provider (IdP) Connections
  • JSON Web Key Set (JWKS)

Cause

Auth0 fails to access and read the remote JWKS URLs configured in the IdP connection over the OpenID provider back channel.

Solution

How is the remote document fetch error resolved?

Configure the firewall on the IdP side to allow Auth0 IP addresses and automate updates using the Auth0 live feed.

  1. Ensure the firewall on the IdP side does not block Auth0.
  2. Automate IP allowlist updates using the Auth0 IP Ranges JSON live feed endpoint at Auth0 IP Ranges Endpoint.

Recommended content

No recommended content found...