Fix MCP OAuth test fixture configuration

This commit is contained in:
Cursor Agent 2026-05-04 12:21:46 +00:00 committed by Sameer Kankute
parent 60dd81f965
commit c23568c03b
No known key found for this signature in database

View file

@ -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