OpenID Connect Connection Error: 'display_values_supported' Length Must Be Less Than 10 Characters

Overview

This article explains why an error occurs when creating an OpenID Connect (OIDC) Enterprise Connection in Auth0 using an OIDC Discovery URL.

The following error displays:

Error: "Something happened while trying to create your connection: "options.oidc_metadata.display_values_supported[2]" length must be less than or equal to 10 characters long"

Applies To

  • OIDC Enterprise Connection
  • OIDC Discovery URL

Cause

The Auth0 platform imposes a 10-character maximum length on the values within the display_values_supported array found in the OIDC Discovery Document. The partner's OIDC metadata contains a value that exceeds this internal Auth0 limit, causing the validation error.

Solution

Auth0 does not provide a configuration option to ignore this specific validation error when using the Discovery URL directly. A workaround is to manually configure the connection using custom metadata.

 

  1. Download the OIDC Discovery Document.
    1. Access the partner's OIDC Discovery URL in a browser
    2. Save the resulting JSON content locally.

  2. Edit the JSON Metadata.
    1. Open the downloaded JSON file.
    2. Locate the display_values_supported array.
    3. Remove the value(s) that exceed the 10-character limit.

  3. Upload the Edited Metadata to Auth0.
    1. Select the option in Auth0 to manually configure the OIDC Connection or find the option to upload the OIDC configuration JSON file.
    2. Upload the edited JSON file.

Recommended content

No recommended content found...