---
title: "GET /admin/oidc/providers/{provider_id}/role-mappings"
method: GET
path: "/admin/oidc/providers/{provider_id}/role-mappings"
tags: ["Authentication"]
---

# GET /admin/oidc/providers/{provider_id}/role-mappings

`GET /admin/oidc/providers/{provider_id}/role-mappings`

## 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}/role-mappings`
- Auth: HTTP bearer

## Path parameters

- `provider_id` integer, required

## Response `200`

OIDC role mappings

- OidcRoleMappingResponse[]
  - `id` integer, required
  - `idp_group` string, required
  - `priority` integer, required
  - `provider_id` integer, required
  - `role` string, required

## Changes

- **2026-05-30** `b72341d12f63`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/admin/oidc/providers/:provider_id/role-mappings/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)
