Skip to main content
function oauthProxy(options): OAuthServerProvider;
Defined in: server/auth/oauth/proxy.ts:33 Creates an OAuth provider that proxies to an existing upstream OAuth server using pre-registered credentials. MCP clients interact with this proxy using Dynamic Client Registration. The proxy presents a DCR-compliant interface while internally using its own fixed credentials (upstreamCredentials) when communicating with the upstream authorization server.

Parameters

options

OAuthProxyOptions

Returns

OAuthServerProvider