π The fast, Pythonic way to build MCP servers and clients.
Fix OAuth request annotation (#4534)
Jeremiah Lowind7eda92a2bea
diff --git a/fastmcp_slim/fastmcp/client/auth/oauth.py b/fastmcp_slim/fastmcp/client/auth/oauth.pyindex 9023490bf..aca909e4a 100644--- a/fastmcp_slim/fastmcp/client/auth/oauth.py+++ b/fastmcp_slim/fastmcp/client/auth/oauth.py@@ -349,7 +349,7 @@ class OAuth(OAuthClientProvider):else:self.context.update_token_expiry(self.context.current_tokens)- async def _perform_authorization(self) -> httpx.Request:+ async def _perform_authorization(self) -> httpx2.Request:"""Reject expired registrations before attempting authorization."""client_info = self.context.client_infoif (