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

Use expires_in property of access tokens #620

Open
wbazant opened this issue Nov 27, 2024 · 0 comments
Open

Use expires_in property of access tokens #620

wbazant opened this issue Nov 27, 2024 · 0 comments
Labels
performance Related to interface speed and responsiveness

Comments

@wbazant
Copy link
Collaborator

wbazant commented Nov 27, 2024

We currently try a token, if it says expired, retry - but the API actually returns expires_in, so we should know when to retry.

The benefit would be performance, since it could go straight to refreshing the token, rather than first trying a token that is known to have expired.

Originally posted by @ezwelty in #617 (comment)

@wbazant wbazant added the performance Related to interface speed and responsiveness label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Related to interface speed and responsiveness
Projects
None yet
Development

No branches or pull requests

1 participant