litellm/tests/test_litellm/proxy/_experimental
Tin Chi Lo feedab214e fix(mcp): normalize blank OAuth endpoint fields to None at build entry points
A whitespace-only authorization_url was truthy to the row/config merges and
has_all check but blank to the corroboration gate, so discovery and
carry-forward adopted token_url/registration_url/scopes as if unpinned while
the broken whitespace value was still used for redirects. Rather than add
another strip() at each site, the pinned authorization_url/token_url/
registration_url are normalized once per build path (DB and config) via
_blank_to_none, so the merge, has_all gate, discovery gate, persist hook, and
carry-forward all see a single notion of blank. Empty and whitespace pins now
behave identically to an omitted field.
2026-07-15 11:12:54 -07:00
..
mcp_server fix(mcp): normalize blank OAuth endpoint fields to None at build entry points 2026-07-15 11:12:54 -07:00