---
title: "List OAuth providers"
method: GET
path: "/oauth-providers"
tags: ["Oauth"]
---

# List OAuth providers

`GET /oauth-providers`

Retrieves a list of all OAuth providers for a user.

## Query parameters

- `user_id` string

## Response `200`

Successful response

- object
  - `items` object[], required
    - `account_id` string, required — Account ID of the OAuth provider. This uniquely identifies the account on the provider side.
    - `user_id` string, required — The ID of the user, or the special value `me` for the currently authenticated user
    - `id` string, required — The unique identifier of the OAuth provider
    - `email` string — Email of the OAuth provider. This is used to display and identify the OAuth provider in the UI.
    - `provider_config_id` string, required — Provider config ID of the OAuth provider. This uniquely identifies the provider config on config.json file
    - `type` 'google' | 'github' | 'microsoft' | 'spotify' | 'facebook' | 'discord' | 'gitlab' | 'bitbucket' | 'linkedin' | 'apple' | 'x' | 'twitch', required — OAuth provider type, one of `google`, `github`, `microsoft`, `spotify`, `facebook`, `discord`, `gitlab`, `bitbucket`, `linkedin`, `apple`, `x`, `twitch`
    - `allow_sign_in` boolean, required — Whether the user can use this OAuth provider to sign in. Only one OAuth provider per type can have this set to `true`.
    - `allow_connected_accounts` boolean, required — Whether the user can use this OAuth provider as connected account. Multiple OAuth providers per type can have this set to `true`.
  - `pagination` object
    - `next_cursor` 'null', nullable — The cursor to fetch the next page of results. null if there is no next page.

## Changes

- **2026-07-23** `ae5572197e85` — 1 breaking, 1 warning
  - the response property `pagination/next_cursor` became nullable for the status `200`
  - added the new `undefined` enum value to the `pagination/next_cursor` response property for the response status `200`
- **2026-05-15** `f6aec844c9f2` — 12 warning
  - added the new `apple` enum value to the `items/items/type` response property for the response status `200`
  - added the new `bitbucket` enum value to the `items/items/type` response property for the response status `200`
  - added the new `discord` enum value to the `items/items/type` response property for the response status `200`
  - added the new `facebook` enum value to the `items/items/type` response property for the response status `200`
  - …8 more

[Change history](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/changes/oauth-providers/get.md)

---

[API](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/3ced76bb7fd8/schema)
