From 10256368b65801e84fa7687f7aa84fd20077518a Mon Sep 17 00:00:00 2001 From: Amine Saboni Date: Mon, 19 Jan 2026 15:40:59 +0100 Subject: [PATCH] fix: remove duplicate injection of auth_provider in auth endpoint --- carbonserver/carbonserver/api/routers/authenticate.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/carbonserver/carbonserver/api/routers/authenticate.py b/carbonserver/carbonserver/api/routers/authenticate.py index fafed0c1c..8f03c0f9a 100644 --- a/carbonserver/carbonserver/api/routers/authenticate.py +++ b/carbonserver/carbonserver/api/routers/authenticate.py @@ -32,9 +32,6 @@ def check_login( auth_user: UserWithAuthDependency = Depends(OptionalUserWithAuthDependency), sign_up_service: SignUpService = Depends(Provide[ServerContainer.sign_up_service]), - auth_provider: Optional[OIDCAuthProvider] = Depends( - Provide[ServerContainer.auth_provider] - ), ): """ return user data or redirect to login screen