Skip to content

Commit 3ece6f1

Browse files
authored
change clock skew to 10 instead of 60
1 parent efab13a commit 3ece6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/tests/test_auth_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_get_google_id_token_success_local_creds(
155155
mock_session.assert_called_once_with(mock_creds)
156156
mock_creds.refresh.assert_called_once_with(mock_request_instance)
157157
mock_verify.assert_called_once_with(
158-
MOCK_ID_TOKEN, ANY, clock_skew_in_seconds=60
158+
MOCK_ID_TOKEN, ANY, clock_skew_in_seconds=10
159159
)
160160
assert token == f"{auth_methods.BEARER_TOKEN_PREFIX}{MOCK_ID_TOKEN}"
161161
assert auth_methods._token_cache["token"] == MOCK_ID_TOKEN

0 commit comments

Comments
 (0)