Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update verify_exp option in jwt decode (#6749)
Damian Wysocki0d2564896b7f
diff --git a/saleor/core/jwt.py b/saleor/core/jwt.pyindex 9de9b32bfa..19bf75a789 100644--- a/saleor/core/jwt.py+++ b/saleor/core/jwt.py@@ -62,7 +62,7 @@ def jwt_decode(token: str) -> Dict[str, Any]:token,settings.SECRET_KEY, # type: ignorealgorithms=[JWT_ALGORITHM],- verify_expiration=settings.JWT_EXPIRE,+ options={"verify_exp": settings.JWT_EXPIRE},)