diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index 45476900a26..68d0ed2bb7a 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -3776,7 +3776,7 @@ class LiteLLM_JWTAuth(LiteLLMPydanticObjectBase): def __init__(self, **kwargs: Any) -> None: # get the attribute names for this Pydantic model - allowed_keys = self.__annotations__.keys() + allowed_keys = LiteLLM_JWTAuth.__annotations__.keys() invalid_keys = set(kwargs.keys()) - allowed_keys user_roles_jwt_field = kwargs.get("user_roles_jwt_field")