validate jwks, fix service decorator session handling
This commit is contained in:
@@ -18,6 +18,7 @@ from auth.scopes import (
|
||||
TASKS_SCOPE, TASKS_READONLY_SCOPE,
|
||||
CUSTOM_SEARCH_SCOPE
|
||||
)
|
||||
from auth.session_context import get_session_context
|
||||
|
||||
# OAuth 2.1 integration is now handled by FastMCP auth
|
||||
OAUTH21_INTEGRATION_AVAILABLE = True
|
||||
@@ -53,10 +54,6 @@ async def get_authenticated_google_service_oauth21(
|
||||
|
||||
return service, user_google_email
|
||||
|
||||
def get_session_context():
|
||||
"""Placeholder for session context - not needed with direct OAuth 2.1 store access."""
|
||||
return None
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Service configuration mapping
|
||||
|
||||
@@ -54,7 +54,6 @@ def get_session_context() -> Optional[SessionContext]:
|
||||
Returns:
|
||||
The current session context or None
|
||||
"""
|
||||
print('called get_session_context')
|
||||
return _current_session_context.get()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user