We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43409e commit 72f61e6Copy full SHA for 72f61e6
packages/toolbox-core/src/toolbox_core/auth_methods.py
@@ -71,7 +71,7 @@ def _update_cache(new_token: str) -> None:
71
# verify_oauth2_token not only decodes but also validates the token's
72
# signature and claims against Google's public keys.
73
# It's a synchronous, CPU-bound operation, safe for async contexts.
74
- claims = id_token.verify_oauth2_token(new_token, Request())
+ claims = id_token.verify_oauth2_token(new_token, Request(), clock_skew_in_seconds=60)
75
76
expiry_timestamp = claims.get("exp")
77
if not expiry_timestamp:
0 commit comments