---
title: "List OIDC providers"
method: GET
path: "/databases/{databaseId}/auth/oidc/providers"
tags: ["authentication"]
---

# List OIDC providers

`GET /databases/{databaseId}/auth/oidc/providers`

## Request

- Base URL: `https://global.thenile.dev`
- URL: `https://global.thenile.dev/databases/{databaseId}/auth/oidc/providers`
- Auth: none declared

Lists all OIDC providers registered in the database.

## Path parameters

- `databaseId` string, required

## Response `200`

List of OIDC providers

- OIDCProvider[]
  - `name` string, required
  - `authType` 'SSO' | 'SOCIAL', required
  - `redirectUrl` string, uri
  - `enabled` boolean
  - `configUrl` string, uri
  - `config` JsonNode
  - `ttl_sec` integer

---

[API](https://skmtc.dev/thenile/apis/nile-rest-api.md) · [All operations](https://skmtc.dev/thenile/apis/nile-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thenile/apis/nile-rest-api/revisions/afe849f2aeec?raw)
