latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-216381,9552.9 MB

f2cf3228f366

MCP Servers

Discover Oidc Endpoints

DiscoverOIDCEndpoints fetches the OpenID Connect discovery document for an issuer and returns the authorization, token, and supported scopes.

post/api/v1/mcp_servers/discover_oidc

Request body

issuerUrlstring

The issuer URL (e.g. "https://accounts.google.com"). The server appends /.well-known/openid-configuration to this URL.

Response

MCPServerServiceDiscoverOIDCEndpointsResponse returns the discovered OAuth2 endpoints.

authorizationEndpointstring

The authorization endpoint URL.

codeChallengeMethodsSupportedstring[] nullable

PKCE code challenge methods supported by the authorization server (RFC 8414). Typical values: "plain", "S256". Empty when the discovery doc omits this field. The frontend should pass the array back unchanged on save so the backend can persist it on the connector and skip per-flow re-discovery.

scopesSupportedstring[] nullable

Scopes supported by the authorization server.

tokenEndpointstring

The token endpoint URL.