Auth0 · Schema

CreateConnectionRequestContentOAuth2

Create a connection with strategy=oauth2

AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOAuthOktaOpenID ConnectSAMLSecuritySCIM
View JSON Schema on GitHub

JSON Schema

auth0-createconnectionrequestcontentoauth2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateConnectionRequestContentOAuth2",
  "title": "CreateConnectionRequestContentOAuth2",
  "description": "Create a connection with strategy=oauth2",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "strategy": {
          "const": "oauth2"
        },
        "options": {
          "$ref": "#/components/schemas/ConnectionOptionsOAuth2"
        }
      },
      "required": [
        "strategy"
      ]
    },
    {
      "$ref": "#/components/schemas/ConnectionPurposes"
    },
    {
      "$ref": "#/components/schemas/CreateConnectionCommon"
    }
  ]
}