no-signature-check

This commit is contained in:
tonyrewin 2022-10-31 22:53:48 +03:00
parent 79e8677975
commit e9b594703c

View File

@ -27,7 +27,10 @@ class JWTCodec:
payload = jwt.decode(
token,
key=JWT_SECRET_KEY,
options={"verify_exp": verify_exp},
options={
"verify_exp": verify_exp,
"verify_signature": False
},
algorithms=[JWT_ALGORITHM],
)
r = TokenPayload(**payload)