cleanup / refac and remove unnecessary legacy module

This commit is contained in:
Taylor Wilsdon
2025-08-09 12:18:08 -04:00
parent c93e9cc0cf
commit 58f55019c4
5 changed files with 1119 additions and 1401 deletions

View File

@@ -471,7 +471,6 @@ def require_multiple_services(service_configs: List[Dict[str, Any]]):
# SIMPLIFIED: Get authentication state from context (set by AuthInfoMiddleware)
authenticated_user = None
auth_method = None
mcp_session_id = None
try:
@@ -479,7 +478,6 @@ def require_multiple_services(service_configs: List[Dict[str, Any]]):
ctx = get_context()
if ctx:
authenticated_user = ctx.get_state("authenticated_user_email")
auth_method = ctx.get_state("authenticated_via")
if hasattr(ctx, 'session_id'):
mcp_session_id = ctx.session_id
except Exception as e: