List Oauth Providers
GET
/settings/oauth-providers/
const url = 'https://example.com/api/settings/oauth-providers/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/settings/oauth-providers/ \ --header 'Authorization: Bearer <token>'List all OAuth providers (admin only).
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response List Oauth Providers Settings Oauth Providers Get
Array<object>
OAuthProviderResponseResponse schema for OAuth provider. Never exposes client_secret.
object
id
required
Id
Unique provider identifier.
string format: uuid
slug
required
Slug
URL-safe identifier used in the callback URL.
string
display_name
required
Display Name
Label shown on the login page button.
string
provider_type
required
Provider Type
Provider type: ‘google’, ‘microsoft’, or ‘oidc’.
string
client_id
required
Client Id
OAuth client ID. Visible to admins; never exposes client_secret.
string
scopes
required
Scopes
Space-separated OAuth scopes.
string
default_role
required
Default Role
Default role assigned to new users.
string
enabled
required
Enabled
Whether the provider button appears on the login page.
boolean
created_at
required
Created At
Timestamp the provider was created.
string format: date-time
updated_at
required
Updated At
Timestamp the provider was last updated.
string format: date-time
Example generated
[ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "slug": "example", "display_name": "example", "provider_type": "example", "client_id": "example", "discovery_url": "example", "authorize_url": "example", "token_url": "example", "userinfo_url": "example", "scopes": "example", "default_role": "example", "group_claim": "example", "group_role_mapping": {}, "enabled": true, "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z" }]