diff --git a/fastapi_jwt/jwt_backends/authlib_backend.py b/fastapi_jwt/jwt_backends/authlib_backend.py index 780992e..522d6d2 100644 --- a/fastapi_jwt/jwt_backends/authlib_backend.py +++ b/fastapi_jwt/jwt_backends/authlib_backend.py @@ -43,5 +43,6 @@ def decode(self, token: str, secret_key: str) -> Optional[Dict[str, Any]]: authlib_jose_errors.InvalidClaimError, authlib_jose_errors.InvalidTokenError, authlib_jose_errors.DecodeError, + authlib_jose_errors.BadSignatureError, ) as e: raise BackendException(f"Invalid token: {e}")