diff --git a/halfapi/lib/jwt_middleware.py b/halfapi/lib/jwt_middleware.py index 31cb7d5..3f24229 100644 --- a/halfapi/lib/jwt_middleware.py +++ b/halfapi/lib/jwt_middleware.py @@ -140,7 +140,7 @@ class JWTAuthenticationBackend(AuthenticationBackend): key=self.secret_key, algorithms=[self.algorithm], options={ - 'verify_signature': bool(PRODUCTION) + 'verify_signature': True }) if is_check_call: