mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 07:09:11 +02:00
Make InMemoryOAuthProvider keyword-only like its parent
This commit is contained in:
parent
66d842d6e9
commit
a7248480e2
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue