---
title: "GetOIDCConfig"
method: POST
path: "/gitpod.v1.OrganizationService/GetOIDCConfig"
tags: ["gitpod.v1.OrganizationService"]
---

# GetOIDCConfig

`POST /gitpod.v1.OrganizationService/GetOIDCConfig`

Retrieves the OIDC token configuration for an organization.

 Use this method to:
 - Check which OIDC token version is active (V2 or V3)
 - View extra sub claim fields (V3 only)

 ### Examples

 - Get OIDC config:

   ```yaml
   organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   ```

## Request body

- GitpodV1GetOIDCConfigRequest — GetOIDCConfigRequest is the request message for retrieving OIDC token configuration.
  - `organizationId` string, uuid, required — organization_id is the ID of the organization.

## Response `200`

Success

- GitpodV1GetOIDCConfigResponse — unresolved $ref

## Other responses

- `default` — Error

## Changes

- **2026-04-02** `dabc0ff98cd7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.OrganizationService/GetOIDCConfig/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
