Skip to content

Commit 01bd418

Browse files
committed
remove deprecated logic
1 parent e5f6529 commit 01bd418

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

litellm/proxy/auth/user_api_key_auth.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
from litellm.proxy.auth.handle_jwt import JWTAuthManager, JWTHandler
5050
from litellm.proxy.auth.oauth2_check import check_oauth2_token
5151
from litellm.proxy.auth.oauth2_proxy_hook import handle_oauth2_proxy_request
52-
from litellm.proxy.auth.service_account_checks import service_account_checks
5352
from litellm.proxy.common_utils.http_parsing_utils import _read_request_body
5453
from litellm.proxy.utils import PrismaClient, ProxyLogging
5554
from litellm.types.services import ServiceTypes
@@ -905,12 +904,6 @@ async def _user_api_key_auth_builder( # noqa: PLR0915
905904
else:
906905
_team_obj = None
907906

908-
# Check 7: Check if key is a service account key
909-
await service_account_checks(
910-
valid_token=valid_token,
911-
request_data=request_data,
912-
)
913-
914907
user_api_key_cache.set_cache(
915908
key=valid_token.team_id, value=_team_obj
916909
) # save team table in cache - used for tpm/rpm limiting - tpm_rpm_limiter.py

0 commit comments

Comments
 (0)