From d7eda92a2bead87b6d4ec8ef7f75e64879fa32f1 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Sat, 18 Jul 2026 15:29:32 -0400 Subject: [PATCH] Fix OAuth request annotation (#4534) --- fastmcp_slim/fastmcp/client/auth/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastmcp_slim/fastmcp/client/auth/oauth.py b/fastmcp_slim/fastmcp/client/auth/oauth.py index 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_info if (