mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 12:37:09 +00:00
In MCP OAuth, mirror the authorization server's grant_types_supported in the DCR registration body instead of hardcoding just authorization_code. Logfire's auth server requires both authorization_code and refresh_token in grant_types, and we already uses refresh tokens, so the only issue was not advertising the capability during registration. The DCR body now intersects our supported grant types with what the server advertises, or sends all of ours when the server metadata omits grant_types_supported. Without this change, the Pydantic Logfire MCP auth server refuses our client registration. Release Notes: - MCP: Improve selection of the `grant_types` we send during OAuth dynamic client registration. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| LICENSE-GPL | ||