Discover Oidc Endpoints
DiscoverOIDCEndpoints fetches the OpenID Connect discovery document for an issuer and returns the authorization, token, and supported scopes.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Body
MCPServerServiceDiscoverOIDCEndpointsRequest fetches the OpenID Connect discovery document for a given issuer URL.
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.
MCPServerServiceDiscoverOIDCEndpointsResponse returns the discovered OAuth2 endpoints.
The authorization endpoint URL.
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.
Scopes supported by the authorization server.
The token endpoint URL.