Auth0 · Schema

CreateClientGrantRequestContent

AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIM

Properties

Name Type Description
client_id string ID of the client.
audience string The audience (API identifier) of this client grant
default_for object
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.
scope array Scopes allowed for this client grant.
subject_type object
authorization_details_types array Types of authorization_details allowed for this client grant.
allow_all_scopes boolean If enabled, all scopes configured on the resource server are allowed for this grant.
View JSON Schema on GitHub

JSON Schema

auth0-createclientgrantrequestcontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateClientGrantRequestContent",
  "title": "CreateClientGrantRequestContent",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "audience"
  ],
  "properties": {
    "client_id": {
      "type": "string",
      "description": "ID of the client."
    },
    "audience": {
      "type": "string",
      "description": "The audience (API identifier) of this client grant",
      "minLength": 1
    },
    "default_for": {
      "$ref": "#/components/schemas/ClientGrantDefaultForEnum",
      "x-release-lifecycle": "GA"
    },
    "organization_usage": {
      "$ref": "#/components/schemas/ClientGrantOrganizationUsageEnum"
    },
    "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.",
      "default": false
    },
    "scope": {
      "type": "array",
      "description": "Scopes allowed for this client grant.",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 280
      }
    },
    "subject_type": {
      "$ref": "#/components/schemas/ClientGrantSubjectTypeEnum"
    },
    "authorization_details_types": {
      "type": "array",
      "description": "Types of authorization_details allowed for this client grant.",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 255
      }
    },
    "allow_all_scopes": {
      "type": "boolean",
      "description": "If enabled, all scopes configured on the resource server are allowed for this grant."
    }
  }
}