OptionalallowLoopback trust grant for the token endpoint fetch (SSRF mitigation - see
src/auth/discovery-fetch.ts). Compute this from the MCP server the
caller is actually talking to, never from tokenEndpoint itself (which
is typically sourced from remote-controlled AS metadata). Defaults to
false.
OptionalauthorizationWhether the authorization server advertises authorization_response_iss_parameter_supported (RFC 9207)
OptionalheadlessHeadless mode (don't open browser)
Issuer identifier discovered before the flow starts; the iss in the authorization response must match it (RFC 9207)
OptionalloggerOptional logger for debug output (defaults to singleton logger)
OptionalpkceEnable PKCE (RFC 7636) - recommended for all clients, required for public clients
Port for OAuth callback listener (required - use get-port to find available port)
OptionalredirectRedirect URI for OAuth callback (optional - will be built from port if not provided)
Canonical resource server URI, sent as resource on the authorization, token, and refresh requests (RFC 8707)
OptionalscopesOAuth scopes to request
OptionalsignalCancels an in-progress authorization and closes its callback listener.
OptionaltimeoutTimeout for callback (milliseconds)
Options for OAuth authorization flow