Auth0 · Schema

DeviceAuthorization

AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIM

Properties

Name Type Description
grant_type string Denotes the flow you are using. For Device Authorization, use urn:ietf:params:oauth:grant-type:device_code.
client_id string Your application's Client ID.
device_code string The device code previously returned from the /oauth/device/code endpoint.
View JSON Schema on GitHub

JSON Schema

auth0-deviceauthorization-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DeviceAuthorization",
  "title": "DeviceAuthorization",
  "type": "object",
  "required": [
    "grant_type",
    "client_id",
    "device_code"
  ],
  "properties": {
    "grant_type": {
      "type": "string",
      "description": "Denotes the flow you are using. For Device Authorization, use urn:ietf:params:oauth:grant-type:device_code.",
      "enum": [
        "urn:ietf:params:oauth:grant-type:device_code"
      ]
    },
    "client_id": {
      "type": "string",
      "description": "Your application's Client ID."
    },
    "device_code": {
      "type": "string",
      "description": "The device code previously returned from the /oauth/device/code endpoint."
    }
  }
}