---
title: "Get OpenID Connect provider metadata"
method: GET
path: "/api/v2/oauth2/.well-known/openid-configuration"
tags: ["OAuth2 Client Public"]
---

# Get OpenID Connect provider metadata

`GET /api/v2/oauth2/.well-known/openid-configuration`

## Request

- Base URL: `https://app.datadoghq.com`
- URL: `https://app.datadoghq.com/api/v2/oauth2/.well-known/openid-configuration`
- Auth: none required
- TypeScript: <https://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/oauth2/.well-known/openid-configuration/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve OpenID Connect provider metadata for the OAuth2 v2 token endpoint.

## Response `200`

OK

- OIDCDiscoveryDocument: OpenID Connect provider metadata.
  - `authorization_endpoint` string, required: URL of the OAuth2 authorization endpoint.
  - `id_token_signing_alg_values_supported` string[], required: Signing algorithms supported for ID tokens.
  - `issuer` string, required: URL identifying the OpenID Connect issuer.
  - `jwks_uri` string, required: URL of the JSON Web Key Set used to verify ID token signatures.
  - `response_types_supported` string[], required: OAuth2 response types supported by the provider.
  - `subject_types_supported` string[], required: Subject identifier types supported by the provider.
  - `token_endpoint` string, required: URL of the OAuth2 token endpoint.

## Other responses

- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/3f70db624329?raw)
