fix: remove MCP application-level authorization

This commit is contained in:
Anton
2026-05-08 12:14:19 +03:00
parent a4e7388bcf
commit 7593a460c7
11 changed files with 20 additions and 363 deletions

View File

@@ -1,6 +1,3 @@
import pytest
from pydantic import ValidationError
from app.config import Settings
@@ -14,8 +11,3 @@ def test_numeric_crawl_limit_is_parsed():
settings = Settings(crawl_limit="25")
assert settings.crawl_limit == 25
def test_mcp_auth_mode_rejects_oauth_or_token_fallback():
with pytest.raises(ValidationError):
Settings(mcp_auth_mode="oauth_or_token")