rust-sdk/crates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
jh-block 01a6666429
fix: treat resource metadata JSON parse failure as soft error (#810)
In fetch_resource_metadata_from_url, a JSON parse failure on the
response body caused a fatal AuthError::MetadataError, preventing
discover_metadata() from falling through to direct
.well-known/oauth-authorization-server discovery (Strategy B).

MCP servers that return HTTP 200 with non-JSON content (e.g. HTML)
at their base URL caused the OAuth flow to abort entirely, even
when the server had a valid .well-known/oauth-authorization-server
endpoint.

Return Ok(None) on parse failure, consistent with how HTTP errors
are already handled in the same function.
2026-04-16 12:16:19 -04:00
..
rmcp fix: treat resource metadata JSON parse failure as soft error (#810) 2026-04-16 12:16:19 -04:00
rmcp-macros fix(macros): respect local feature in #[prompt] macro — omit + Send bound (#803) 2026-04-14 09:56:19 -04:00