adk_mcp_oauth (erlang_adk v0.10.0)
View SourceBounded OAuth discovery and PKCE helper for MCP clients.
Discovery follows RFC 9728 protected-resource metadata, then RFC 8414 authorization-server metadata with the OpenID Connect well-known location as a 404-only fallback. The caller supplies a fetch function so connection pinning and trust roots remain owned by the application. Requests emitted to that function never contain credentials and redirects are never followed.