Skip to content

OAuthConnection

Connection configuration using OAuth 2.0 client credentials. Useful for tools and services that require OAuth authentication, such as MCP servers, OpenAPI endpoints, or other REST APIs.

---
title: OAuthConnection
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class Connection {
        +string kind
        +string authenticationMode
        +string usageDescription
    }
    Connection <|-- OAuthConnection
    class OAuthConnection {
      
        +string kind
        +string endpoint
        +string clientId
        +string clientSecret
        +string tokenUrl
        +string[] scopes
    }
kind: oauth
endpoint: https://api.example.com
clientId: your-client-id
clientSecret: your-client-secret
tokenUrl: https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token
scopes:
- https://cognitiveservices.azure.com/.default
NameTypeDescription
kindstringThe connection kind for OAuth authentication
endpointstringThe endpoint URL for the service
clientIdstringThe OAuth client ID
clientSecretstringThe OAuth client secret
tokenUrlstringThe OAuth token endpoint URL
scopesstring[]OAuth scopes to request