---
sourceDocument: Brazil Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-security

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# CIMD client integration

# Client ID Metadata Document (CIMD) client integration {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Client ID Metadata Document (CIMD) client integration

The Client ID Metadata Document (CIMD) integration enables the ServiceNow AI Platform to accept external OAuth clients identified by an HTTPS metadata-document URL instead of requiring a pre-issued client ID and secret.
This approach simplifies onboarding by allowing the instance to fetch client configuration dynamically from a JSON metadata document hosted by the OAuth client, reducing manual entry and eliminating the need to pre-register client secrets.
Show full answer Show less  
CIMD replaces Dynamic Client Registration (DCR) for clients connecting without prior registration but still requires explicit client registration on the instance to maintain control and security. It supports public OAuth clients using the authorization code flow with PKCE, ensuring secure authentication without client secrets.

## Key Features

* **Metadata Document:** A JSON file hosted at a stable HTTPS URL containing client configuration such as clientid (the URL itself), redirect URIs, client name, and optional branding details.
* **Client Identification:** The clientid is the HTTPS URL of the metadata document, which the platform fetches and validates at the start of each new authorization flow.
* **Registration Control:** Clients must be registered on the instance before connecting; CIMD facilitates easier registration but does not eliminate the registration step.
* **Metadata Sync Modes:**
  * **Live (Dynamic):** Trusted clients have their metadata refreshed automatically with caching (default 1 hour).
  * **Static (Manual):** Pre-approved clients use initially captured metadata without automatic updates.
* **Security Model:** CIMD clients are public clients that use PKCE; client secrets are not used or supported.
* **Supported OAuth Flow:** Authorization code flow with PKCE and response type code only.
* **Token Format:** Defaults to opaque tokens, with JWT tokens also available.
* **Performance:** Metadata is fetched only at the start of new authorization flows, minimizing performance impact. Metadata is cached per client with configurable cache lifespan.

## Practical Considerations for ServiceNow Customers

* Use CIMD to simplify onboarding of external OAuth clients by pointing your instance to their metadata URL instead of manually entering client details.
* Ensure each CIMD client is explicitly registered on your instance to maintain control over which clients can connect.
* Expect CIMD to keep client configuration current in Live mode, reducing administrative overhead for trusted clients.
* Host metadata documents on HTTPS URLs with stable paths that do not include dot or double-dot segments and return valid JSON with correct content type.
* Leverage CIMD for both ServiceNow MCP clients and regular OAuth clients using public client flows secured with PKCE.
* Available on ServiceNow versions Zurich Patch 7 and later, and Australia Patch 1 and later.  
CIMD lets the ServiceNow AI Platform accept an external OAuth client that identifies itself with an HTTPS metadata-document URL instead of a pre-issued client ID and secret.
Client ID Metadata Document (CIMD) is a JSON file an OAuth client hosts at an HTTPS URL; that URL serves as the client's <kbd class="ph userinput">client_id</kbd>, and when the client initiates an OAuth flow, the ServiceNow AI Platform fetches the metadata document from the URL and uses it to complete the flow. This removes the pre-registration of client secret for every client.

CIMD gives you a way to bring an external OAuth client onto an instance. Instead of entering every client detail manually, you point the instance at the client's metadata URL, and the ServiceNow AI Platform fetches the configuration.

You stay in control of which clients connect. An instance doesn't accept clients on its own --- you register each CIMD client before it can connect. CIMD makes registration easier and, in Live mode, keeps the client's configuration
current. It doesn't remove the registration step.  
Note:  
* CIMD clients are public clients. Because there is no way to establish a shared client secret with a client identified only by a metadata URL, the metadata document can't use client secret authentication methods.
* CIMD replaces Dynamic Client Registration (DCR) as the supported approach for clients that connect without prior registration. Instead of each client registering through DCR and creating a registration record that the instance must store and maintain, a CIMD client is identified by its metadata document URL, and the instance fetches the registration details from that URL when they are needed.
{#cimd-inbound__ul_vyz_qs2_sjc}

## How CIMD works {#cimd-inbound__cimd-how-it-works}

At the protocol level the flow is:

1. The client hosts its metadata as a JSON document at a stable HTTPS URL on a domain it controls.
2. The client sends that URL as the client_id in the authorization request.
3. If the instance supports CIMD, it fetches the document over HTTPS, validates the JSON and required fields, and confirms that the client_id inside the document exactly matches the URL it was fetched from.
4. The instance applies its policy---on ServiceNow AI Platform, this means the client must already be registered.
5. The standard authorization code flow continues, including consent.
6. Metadata is fetched when a client starts a new authorization flow, not on token refreshes or ordinary API calls, so the effect on day-to-day performance is minimal.
{#cimd-inbound__ol_yl2_2xc_rjc}

## Availability {#cimd-inbound__section_lvg_vzc_rjc}

CIMD is available from Zurich Patch 7 onward and from Australia Patch 1 onward.

## CIMD metadata document {#cimd-inbound__cimd-metadata-document}

The metadata values follow the OAuth client metadata vocabulary (RFC 7591). ServiceNow AI Platform supports public clients only, so the client uses PKCE rather than a client secret.
{#cimd-inbound__table_i3w_wxc_rjc__entry__3}

| Field | Required | Purpose |
|-|-|-|
| client_id | Required | Must equal the HTTPS URL where the document is hosted, compared as a simple string. |
| redirect_uris | Required | Allowed redirect targets; the instance exact-matches the request against these. |
| client_name | Recommended | Human-readable name shown on the consent screen. |
| client_uri | Recommended | The client's home page; supports trust checks. |
| logo_uri | Optional | Logo shown on the consent screen. |
[Table 1. CIMD metadata document]

{#cimd-inbound__table_i3w_wxc_rjc}

## URL and hosting requirements {#cimd-inbound__section_cnj_h1d_rjc}

The metadata URL must use HTTPS and include a path, and it must not contain dot or double-dot path segments. Use a short, stable URL because it may appear to people on authorization screens. The endpoint must return
valid JSON with a JSON content type; if the document is malformed, the instance stops the request and does not cache the error.

## Metadata sync modes {#cimd-inbound__cimd-metadata-sync}

Each CIMD client is configured with a metadata sync mode that determines how the instance obtains and refreshes the client's configuration:

Live (Dynamic)
:   For fully trusted clients. The ServiceNow AI Platform refreshes the client configuration dynamically from the Client ID metadata. The metadata is cached and re-fetched when the cache expires (default 1 hour), not on every use.

Static (Manual)
:   For pre-approved clients. The ServiceNow AI Platform uses the initial configuration captured during onboarding. No automatic updates are made afterward.

## Supported use cases {#cimd-inbound__section_wcm_wzc_rjc}

* ServiceNow MCP Server---MCP clients: An MCP client can identify with a CIMD URL rather than a manually created OAuth inbound integration. There is no dedicated onboarding UI for MCP clients yet; they use the same CIMD registration flow as any other client.
* Regular OAuth clients: CIMD is a general OAuth client-identification mechanism on the instance, not limited to MCP.
{#cimd-inbound__ul_ngj_vzc_rjc}

## Public clients, PKCE, and token format {#cimd-inbound__section_s1q_41d_rjc}

Characteristics of CIMD clients:

* Public clients that use PKCE; the Public Client setting is fixed
* The supported response type is code only
* The only supported flow is authorization code with PKCE
* Token Format defaults to Opaque, with JWT also available. Scope Restriction defaults to Securely scoped.
{#cimd-inbound__ul_sff_s1d_rjc}

## Caching and performance {#cimd-inbound__section_wdj_w1d_rjc}

The instance caches the metadata it fetches and does not cache errors or invalid documents. The default cache lifespan is 3,600 seconds (one hour) and is configurable per client through the Cache lifespan
field. Because metadata is fetched only at the start of a new authorization flow, the performance impact is small.

