{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/TokenQueryDto", "title": "TokenQueryDto", "type": "object", "properties": { "client_id": { "type": "string", "description": "The client ID of the WorkOS environment.", "example": "client_01HZBC6N1EB1ZY7KG32X" }, "client_secret": { "type": "string", "description": "The client secret of the WorkOS environment.", "example": "sk_example_123456789" }, "code": { "type": "string", "description": "The authorization code received from the authorization callback.", "example": "authorization_code_value" }, "grant_type": { "type": "string", "description": "The grant type for the token request.", "example": "authorization_code", "const": "authorization_code" } }, "required": [ "client_id", "client_secret", "code", "grant_type" ] }