Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update token refresh threshold from 20 seconds to 5 minutes #1146

Merged
merged 2 commits into from
Sep 20, 2022

Conversation

sai-sunder-s
Copy link
Contributor

GCE metadataserver refreshes tokens atleast 5mins before expiry. So we can try to refresh if token will expire within next 5 mins. Java uses the same 5mins clock skew.

@sai-sunder-s sai-sunder-s merged commit 261a561 into main Sep 20, 2022
@sai-sunder-s sai-sunder-s deleted the clockskew branch September 20, 2022 01:50
clundin25 added a commit to clundin25/google-auth-library-python that referenced this pull request Sep 26, 2022
clundin25 added a commit that referenced this pull request Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants