diff --git a/litellm/proxy/auth/handle_jwt.py b/litellm/proxy/auth/handle_jwt.py index 957a032da5b..0e2941e3788 100644 --- a/litellm/proxy/auth/handle_jwt.py +++ b/litellm/proxy/auth/handle_jwt.py @@ -1064,7 +1064,11 @@ class JWTHandler: issuer=decode_kwargs["issuer"], options=decode_kwargs["options"], ) - return payload + return { + k: v + for k, v in payload.items() + if k not in self.LITELLM_INTERNAL_CLAIMS + } except jwt.ExpiredSignatureError: # the token is expired, do something to refresh it