Skip to main content
Register an application in Auth0 by importing an externally hosted Client ID Metadata Document (CIMD) from a URL. A CIMD is a JSON file containing client metadata hosted on your domain (e.g., https://example-client.com/mcp-metadata.json). The CIMD URL is the application’s Client ID and proves domain ownership, ensuring only trusted applications can be registered in Auth0. While Auth0 maintains a record of these settings, the hosted CIMD remains the source of truth. Auth0 supports manual CIMD and dynamic CIMD registration:
  • Manual CIMD registration: Manually import an application from its CIMD URL. Auth0 fetches and validates the CIMD to register the application as a CIMD client; metadata updates are synchronized through manual refreshes.
  • Dynamic CIMD registration: The application registers itself via its CIMD URL at runtime when it sends an OAuth request to Auth0; metadata updates are synchronized reactively on-demand for authorization requests.
Only third-party applications can be registered with CIMD, which are subject to enhanced security controls. To learn more, read Register Applications with CIMD. For dynamically registered CIMD clients, tenant administrators can use Application Profiles to apply consistent application settings around refresh token lifetimes, Organizations behavior, and more.
CIMD clients always register with third_party_security_mode: "strict", regardless of your tenant’s Create Permissive Third-Party Clients by Default setting. Permissive mode is not available for CIMD clients. Strict third-party applications do not support Rules, and login flows for CIMD clients fail if your tenant has active Rules. If you use Rules, migrate to Actions before registering CIMD clients.
You cannot switch a CIMD client from manual or dynamic once registered. To do so, delete and re-register the client.

Key benefits

CIMD registration have the following benefits:
  1. MCP clients only need to be registered with CIMD once per deployment. All instances of that deployment use the same registration credentials.
  2. Registration uses asymmetric cryptography (public/private keys) instead of shared symmetric secrets that can be leaked.
  3. Application owners manage client metadata directly in the CIMD; Auth0 automatically maps these properties to its internal configuration during registration.
  4. The CIMD URL acts as a human-readable identifier in audit logs, making it easy to verify the origin of requests from specific MCP tool servers or hosts.

Use cases

Common use cases for CIMD registration include:
  • MCP clients: Only need to be registered with CIMD once per deployment. All instances of that deployment use the same registration credentials. To learn how Auth0 secures MCP clients and servers, read Auth for MCP.
  • Third-party integrations: Partner applications, SaaS platforms, and external services that authenticate users on behalf of organizations. These applications manage their own client metadata and cryptographic keys, enabling independent updates and key rotation without sharing secrets.

Example CIMD

The following is an example CIMD for a public MCP client, in which "token_endpoint_auth_method": "none":
https://example-client.com/mcp-metadata.json
Auth0 automatically maps and validates CIMD fields. To learn more about supported client types, read Prerequisites.

Manual vs. dynamic CIMD registration

The following table compares manual CIMD registration and dynamic CIMD registration:

Dynamic CIMD client limit

Each tenant can have a maximum of 500 dynamically registered CIMD clients. Only clients that applications registered themselves at runtime count toward this limit. CIMD clients that a tenant admin imported manually do not. Dynamically registered CIMD clients also count toward your tenant’s total Applications entity limit, so each one uses a slot in both counts. The Dynamic CIMD client limit can be adjusted for individual tenants. To request a different limit, contact Auth0 Support.

How it works

Learn about how CIMD registration works in Auth0:
The following diagram shows the end-to-end manual CIMD registration flow:

Phase 1: Registration

During manual CIMD registration, a tenant admin registers the application by importing its externally hosted CIMD to Auth0:
  1. Application creation: The tenant admin creates a CIMD app in Auth0 by:
    • Selecting Import from URL in the Auth0 Dashboard
    • Making a POST request to the /register endpoint, providing the external_client_id
  2. Metadata fetch: Auth0 makes a GET request to the client’s domain to retrieve the CIMD (client.json).
  3. Security validation: Auth0 maps and validates the CIMD URL against the CIMD URL validation rules and the CIMD against the CIMD validation rules, verifying that the external_client_id matches the CIMD URL, among other checks.
  4. Persistence: Once validated, Auth0 stores the client metadata in the database.
  5. Confirmation: Auth0 returns a success response; the application has been successfully registered as a CIMD client in Auth0.

Phase 2: Authorization

Once registered, the application uses its CIMD URL as its identity during the OAuth flow.
  1. User-initiated task: The user initiates a task that requires the application to access an API.
  2. Authorization request: The application makes a request to the Auth0 Authorization Server, passing its CIMD URL as the client_id.
  3. Client resolution: The Auth0 Authorization Server queries the database to resolve the provided URL (client_id) to the stored client configuration (external_client_id).
  4. User consent: Auth0 displays a consent screen to the user, identifying the application by the client_name retrieved from the CIMD metadata.
  5. Redirection: After the user approves consent, Auth0 redirects the user back to the application with an authorization code.
  6. Code exchange: The application exchanges the authorization code for an access token at the token endpoint.
  7. Authorization complete: The Auth0 Authorization Server returns an access token where the client_id is set to the CIMD URL. The application can now access the API on the user’s behalf.

Get started