Auth0 · Schema

OrganizationClientGrant

AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIM

Properties

Name Type Description
id string ID of the client grant.
client_id string ID of the client.
audience string The audience (API identifier) of this client grant
scope array Scopes allowed for this client grant.
organization_usage object
allow_any_organization boolean If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations.
View JSON Schema on GitHub

JSON Schema

auth0-organizationclientgrant-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrganizationClientGrant",
  "title": "OrganizationClientGrant",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of the client grant."
    },
    "client_id": {
      "type": "string",
      "description": "ID of the client."
    },
    "audience": {
      "type": "string",
      "description": "The audience (API identifier) of this client grant",
      "minLength": 1
    },
    "scope": {
      "type": "array",
      "description": "Scopes allowed for this client grant.",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "organization_usage": {
      "$ref": "#/components/schemas/OrganizationUsageEnum"
    },
    "allow_any_organization": {
      "type": "boolean",
      "description": "If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations."
    }
  }
}