v47

latestOpenAPI 3.0.3MIT Licenseraw.githubusercontent.com2026-08-015915132.9 KB
admin
oauth-client

List all custom OIDC/OAuth providers

Retrieves a list of all custom OAuth 2.0 and OIDC provider configurations. Optionally filter by provider type. Only available when custom OIDC/OAuth providers are enabled (set GOTRUE_CUSTOM_OAUTH_ENABLED=true for self-hosted or enable in Supabase Dashboard).

get/admin/custom-providers

Query parameters

type'oauth2' | 'oidc'

Filter by provider type

Response

List of custom OIDC/OAuth providers

Example response

{
  "providers": [
    {
      "identifier": "custom:mycompany",
      "name": "My Company SSO",
      "scopes": [
        "openid",
        "email",
        "profile"
      ],
      "attribute_mapping": {
        "email": "user_email",
        "name": "full_name"
      },
      "custom_claims_allowlist": [
        "groups",
        "org_id"
      ],
      "authorization_params": {
        "prompt": "consent"
      },
      "issuer": "https://accounts.google.com"
    }
  ]
}