---
title: "One OIDC provider, as listed; the client secret is masked."
method: GET
path: "/admin/oidc/providers/{provider_id}"
tags: ["Authentication"]
---

# One OIDC provider, as listed; the client secret is masked.

`GET /admin/oidc/providers/{provider_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/admin/oidc/providers/{provider_id}`
- Auth: HTTP bearer

## Path parameters

- `provider_id` integer, required

## Response `200`

The OIDC provider

- OidcProviderResponse
  - `client_id` string, required
  - `client_secret` string, required: Always masked — the secret is never returned after creation.
  - `default_role` string, required
  - `enabled` boolean, required
  - `group_claim` string, required
  - `id` integer, required
  - `issuer_url` string, required
  - `jit_provisioning` boolean, required
  - `managed_by_cloud` boolean, required: ADR-045 §4: true only for the provider Temps Cloud provisions for console access. The admin UI should disable edit/delete controls for such a row — the API itself refuses those requests regardless (`OidcError::ManagedByCloudEdit`/`ManagedByCloudDelete`).
  - `name` string, required
  - `role_claim` string, required
  - `scopes` string, required
  - `template` string, required
  - `trust_idp_email` boolean, required: When true, the resolver skips the `email_verified` claim gate during SSO login. Only safe for IdPs where an admin controls user provisioning — see `oidc_providers::Model::trust_idp_email`.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: OIDC provider not found
- `500`: Internal server error

## Changes

- **2026-11-26** `e1864d950604`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/admin/oidc/providers/:provider_id/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
