Skip to content

Commit efab13a

Browse files
authored
change clock skew
1 parent 0a64828 commit efab13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/src/toolbox_core/auth_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _update_cache(new_token: str) -> None:
7272
# signature and claims against Google's public keys.
7373
# It's a synchronous, CPU-bound operation, safe for async contexts.
7474
claims = id_token.verify_oauth2_token(
75-
new_token, Request(), clock_skew_in_seconds=60
75+
new_token, Request(), clock_skew_in_seconds=10
7676
)
7777

7878
expiry_timestamp = claims.get("exp")

0 commit comments

Comments
 (0)