diff --git a/src/backend/langflow/services/auth/service.py b/src/backend/langflow/services/auth/service.py index c80b984bb..29984a75c 100644 --- a/src/backend/langflow/services/auth/service.py +++ b/src/backend/langflow/services/auth/service.py @@ -1,4 +1,3 @@ -from fastapi import Request from langflow.services.base import Service from typing import TYPE_CHECKING @@ -11,8 +10,3 @@ class AuthManager(Service): def __init__(self, settings_manager: "SettingsManager"): self.settings_manager = settings_manager - - # We need to define a function that can be passed to the Depends() function. - # This function will be called by FastAPI to run oauth2_scheme - def run_oauth2_scheme(self, request: Request): - return self.settings_manager.auth_settings.oauth2_scheme(request=request)