fix: add a leeway of 10s when decoding jwt (#3698)

This commit is contained in:
Heitor Carvalho
2025-10-13 12:42:03 -03:00
committed by GitHub
parent 7b550ebfe8
commit 2ebb2e845f
2 changed files with 19 additions and 15 deletions

View File

@@ -30,6 +30,7 @@ def validate_jwt_token(
algorithms=["RS256"],
audience=audience,
issuer=issuer,
leeway=10.0,
options={
"verify_signature": True,
"verify_exp": True,