From c23568c03bf91785ea7874debafde885d2a007b9 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 4 May 2026 12:21:46 +0000 Subject: [PATCH] Fix MCP OAuth test fixture configuration --- tests/mcp_tests/test_mcp_oauth_flow_http_respx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mcp_tests/test_mcp_oauth_flow_http_respx.py b/tests/mcp_tests/test_mcp_oauth_flow_http_respx.py index f6d6f710a8e..45142998a15 100644 --- a/tests/mcp_tests/test_mcp_oauth_flow_http_respx.py +++ b/tests/mcp_tests/test_mcp_oauth_flow_http_respx.py @@ -64,7 +64,7 @@ def oauth_asgi_app(monkeypatch) -> Iterator[FastAPI]: authorization_url="https://mock-idp.example/oauth/authorize", token_url="https://mock-idp.example/oauth/token", scopes=["openid"], - needs_user_oauth_token=False, + oauth2_flow="client_credentials", ) global_mcp_server_manager.registry[server.server_id] = server