SSOConfig

Configuration for SSO environment variables and settings

CompanyCloudHostingVPSIndia

Properties

Name Type Description
google_client_id object Google OAuth Client ID for SSO authentication
google_client_secret object Google OAuth Client Secret for SSO authentication
microsoft_client_id object Microsoft OAuth Client ID for SSO authentication
microsoft_client_secret object Microsoft OAuth Client Secret for SSO authentication
microsoft_tenant object Microsoft Azure Tenant ID for SSO authentication
generic_client_id object Generic OAuth Client ID for SSO authentication (used for Okta and other providers)
generic_client_secret object Generic OAuth Client Secret for SSO authentication
generic_authorization_endpoint object Authorization endpoint URL for generic OAuth provider
generic_token_endpoint object Token endpoint URL for generic OAuth provider
generic_userinfo_endpoint object User info endpoint URL for generic OAuth provider
proxy_base_url object Base URL of the proxy server for SSO redirects
user_email object Email of the proxy admin user
ui_access_mode object Access mode for the UI
role_mappings object Configuration for mapping SSO groups to LiteLLM roles based on group claims in the SSO token
team_mappings object Configuration for mapping SSO JWT fields to team IDs. Takes precedence over config file settings.
View JSON Schema on GitHub

JSON Schema

bookmyhost-ssoconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-ssoconfig-schema.json",
  "title": "SSOConfig",
  "description": "Configuration for SSO environment variables and settings",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-sso-settings-api-openapi.yml#/components/schemas/SSOConfig",
  "properties": {
    "google_client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Google Client Id",
      "description": "Google OAuth Client ID for SSO authentication"
    },
    "google_client_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Google Client Secret",
      "description": "Google OAuth Client Secret for SSO authentication"
    },
    "microsoft_client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Microsoft Client Id",
      "description": "Microsoft OAuth Client ID for SSO authentication"
    },
    "microsoft_client_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Microsoft Client Secret",
      "description": "Microsoft OAuth Client Secret for SSO authentication"
    },
    "microsoft_tenant": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Microsoft Tenant",
      "description": "Microsoft Azure Tenant ID for SSO authentication"
    },
    "generic_client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Generic Client Id",
      "description": "Generic OAuth Client ID for SSO authentication (used for Okta and other providers)"
    },
    "generic_client_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Generic Client Secret",
      "description": "Generic OAuth Client Secret for SSO authentication"
    },
    "generic_authorization_endpoint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Generic Authorization Endpoint",
      "description": "Authorization endpoint URL for generic OAuth provider"
    },
    "generic_token_endpoint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Generic Token Endpoint",
      "description": "Token endpoint URL for generic OAuth provider"
    },
    "generic_userinfo_endpoint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Generic Userinfo Endpoint",
      "description": "User info endpoint URL for generic OAuth provider"
    },
    "proxy_base_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Proxy Base Url",
      "description": "Base URL of the proxy server for SSO redirects"
    },
    "user_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Email",
      "description": "Email of the proxy admin user"
    },
    "ui_access_mode": {
      "anyOf": [
        {
          "$ref": "#/$defs/AccessControl_UI_AccessMode"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ui Access Mode",
      "description": "Access mode for the UI"
    },
    "role_mappings": {
      "anyOf": [
        {
          "$ref": "#/$defs/RoleMappings"
        },
        {
          "type": "null"
        }
      ],
      "description": "Configuration for mapping SSO groups to LiteLLM roles based on group claims in the SSO token"
    },
    "team_mappings": {
      "anyOf": [
        {
          "$ref": "#/$defs/TeamMappings"
        },
        {
          "type": "null"
        }
      ],
      "description": "Configuration for mapping SSO JWT fields to team IDs. Takes precedence over config file settings."
    }
  },
  "type": "object",
  "$defs": {
    "AccessControl_UI_AccessMode": {
      "properties": {
        "type": {
          "type": "string",
          "const": "restricted_sso_group",
          "title": "Type"
        },
        "restricted_sso_group": {
          "type": "string",
          "title": "Restricted Sso Group"
        },
        "sso_group_jwt_field": {
          "type": "string",
          "title": "Sso Group Jwt Field"
        }
      },
      "type": "object",
      "required": [
        "type",
        "restricted_sso_group",
        "sso_group_jwt_field"
      ],
      "title": "AccessControl_UI_AccessMode",
      "description": "Model for Controlling UI Access Mode via SSO Groups"
    },
    "LitellmUserRoles": {
      "type": "string",
      "enum": [
        "proxy_admin",
        "proxy_admin_viewer",
        "org_admin",
        "internal_user",
        "internal_user_viewer",
        "team",
        "customer"
      ],
      "title": "LitellmUserRoles",
      "description": "Admin Roles:\nPROXY_ADMIN: admin over the platform\nPROXY_ADMIN_VIEW_ONLY: can login, view all own keys, view all spend\nORG_ADMIN: admin over a specific organization, can create teams, users only within their organization\n\nInternal User Roles:\nINTERNAL_USER: can login, view/create/delete their own keys, view their spend\nINTERNAL_USER_VIEW_ONLY: can login, view their own keys, view their own spend\n\n\nTeam Roles:\nTEAM: used for JWT auth\n\n\nCustomer Roles:\nCUSTOMER: External users -> these are customers"
    },
    "RoleMappings": {
      "properties": {
        "provider": {
          "type": "string",
          "title": "Provider",
          "description": "SSO Provider name (e.g., 'google', 'microsoft', 'generic')"
        },
        "group_claim": {
          "type": "string",
          "title": "Group Claim",
          "description": "The field name in the SSO token that contains the groups array (e.g., 'groups', 'roles')"
        },
        "default_role": {
          "anyOf": [
            {
              "$ref": "#/$defs/LitellmUserRoles"
            },
            {
              "type": "null"
            }
          ],
          "description": "Default role to assign if user's groups don't match any role mappings. Must be a valid LitellmUserRoles value (e.g., 'proxy_admin', 'internal_user', 'proxy_admin_viewer')"
        },
        "roles": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "propertyNames": {
            "$ref": "#/$defs/LitellmUserRoles"
          },
          "type": "object",
          "title": "Roles",
          "description": "Mapping of LiteLLM role names to arrays of SSO group names. Example: {'proxy_admin': ['group-1', 'group-2'], 'proxy_admin_viewer': ['group-3']}"
        }
      },
      "type": "object",
      "required": [
        "provider",
        "group_claim"
      ],
      "title": "RoleMappings",
      "description": "Configuration for mapping SSO groups to LiteLLM roles.\n\nThe system will look at the group_claim field in the SSO token to determine\nwhich role to assign the user based on the roles mapping."
    },
    "TeamMappings": {
      "properties": {
        "team_ids_jwt_field": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Team Ids Jwt Field",
          "description": "The field name in the SSO/JWT token that contains the team IDs array (e.g., 'groups', 'teams'). Supports dot notation for nested fields."
        }
      },
      "type": "object",
      "title": "TeamMappings",
      "description": "Configuration for mapping SSO JWT fields to team IDs.\n\nThis allows configuring team_ids_jwt_field via the database instead of\nrequiring config file changes and restarts."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bookmyhost-ssoconfig"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.