{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stormmcp/json-schema/stormmcp-oauth-callback-request-schema.json",
  "title": "OAuthCallbackRequest",
  "description": "Request model for OAuth callback handling.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stormmcp-oauth-api-openapi.yml#/components/schemas/OAuthCallbackRequest",
  "required": [
    "code",
    "redirectUrl"
  ],
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Gets or sets the authorization code received from the OAuth provider."
    },
    "state": {
      "type": [
        "null",
        "string"
      ],
      "description": "Gets or sets the state parameter for CSRF protection."
    },
    "redirectUrl": {
      "type": "string",
      "description": "Gets or sets the redirect URL that was used in the initial OAuth request.\nThis must match exactly for the token exchange to succeed.",
      "format": "uri"
    }
  }
}