Make InMemoryOAuthProvider keyword-only like its parent

This commit is contained in:
Jeremiah Lowin 2026-07-26 15:34:06 -04:00
commit a7248480e2
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -103,7 +103,7 @@ class TestStaticTokenVerifier:
"""Test that server raises error when both OAuth and TokenVerifier provided."""
from fastmcp.server.auth.providers.in_memory import InMemoryOAuthProvider
oauth_provider = InMemoryOAuthProvider("http://test.com")
oauth_provider = InMemoryOAuthProvider(base_url="http://test.com")
token_verifier = StaticTokenVerifier({"token": {"client_id": "test"}})
# This should work - OAuth provider