no-signature-check
This commit is contained in:
parent
79e8677975
commit
e9b594703c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user