---
title: "Get all registered providers with their settings"
method: GET
path: "/ocs/v2.php/apps/user_oidc/api/{apiVersion}/provider"
tags: ["user_oidc_settings"]
---

# Get all registered providers with their settings

`GET /ocs/v2.php/apps/user_oidc/api/{apiVersion}/provider`

This endpoint requires admin access

## Path parameters

- `apiVersion` 'v1', required

## Headers

- `OCS-APIRequest` boolean, required

## Response `200`

The list of providers with their settings

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` Provider[], required
      - `id` integer, required
      - `identifier` string, required
      - `clientId` string, required
      - `discoveryEndpoint` string, nullable, required
      - `endSessionEndpoint` string, nullable, required
      - `postLogoutUri` string, nullable, required
      - `scope` string, required
      - `settings` ProviderSettings, required
        - `mappingDisplayName` string, required
        - `mappingEmail` string, required
        - `mappingQuota` string, required
        - `mappingUid` string, required
        - `mappingGroups` string, required
        - `mappingLanguage` string, required
        - `mappingLocale` string, required
        - `mappingAddress` string, required
        - `mappingStreetaddress` string, required
        - `mappingPostalcode` string, required
        - `mappingLocality` string, required
        - `mappingRegion` string, required
        - `mappingCountry` string, required
        - `mappingWebsite` string, required
        - `mappingAvatar` string, required
        - `mappingTwitter` string, required
        - `mappingFediverse` string, required
        - `mappingOrganisation` string, required
        - `mappingRole` string, required
        - `mappingHeadline` string, required
        - `mappingBiography` string, required
        - `mappingPhonenumber` string, required
        - `mappingGender` string, required
        - `mappingPronouns` string, required
        - `mappingBirthdate` string, required
        - `uniqueUid` boolean, required
        - `checkBearer` boolean, required
        - `sendIdTokenHint` boolean, required
        - `bearerProvisioning` boolean, required
        - `extraClaims` string, required
        - `providerBasedId` boolean, required
        - `groupProvisioning` boolean, required
        - `groupWhitelistRegex` string, required
        - `restrictLoginToGroups` boolean, required
        - `nestedAndFallbackClaims` boolean, required
        - `enrichLoginIdTokenWithUserinfo` boolean, required

## Other responses

- `401` — Current user is not logged in
- `403` — Logged in account must be an admin

## Changes

- **2026-05-22** `6570524ffbd3` — 1 info
  - added the required property `ocs/data/items/settings/enrichLoginIdTokenWithUserinfo` to the response with the `200` status
- **2026-02-27** `f4b2db5dc86b` — 1 breaking
  - the `ocs/data` response's property type/format changed from `object`/`` to `array`/`` for status `200`
- **2026-02-27** `93e4f783741d` — 1 breaking
  - the `ocs/data` response's property type/format changed from `array`/`` to `object`/`` for status `200`
- **2026-02-27** `f9a0442ac006` — 8 breaking
  - removed the required property `ocs/data/items/clientId` from the response with the `200` status
  - removed the required property `ocs/data/items/discoveryEndpoint` from the response with the `200` status
  - removed the required property `ocs/data/items/endSessionEndpoint` from the response with the `200` status
  - removed the required property `ocs/data/items/id` from the response with the `200` status
  - …4 more

[Change history](https://skmtc.dev/nextcloud/apis/user-oidc/changes/ocs/v2.php/apps/user_oidc/api/:apiVersion/provider/get.md)

---

[API](https://skmtc.dev/nextcloud/apis/user-oidc.md) · [All operations](https://skmtc.dev/nextcloud/apis/user-oidc/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nextcloud/user-oidc/revisions/9b0d8249174c/schema)
