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

Refresh OAuth2 token if it expired #310

Open
sergeychernyshev opened this issue Mar 10, 2021 · 0 comments
Open

Refresh OAuth2 token if it expired #310

sergeychernyshev opened this issue Mar 10, 2021 · 0 comments

Comments

@sergeychernyshev
Copy link
Member

Currently, we just make an API call and only refresh access the token if API call fails.

Refresh token first if access_token_expires time has already passed even before making an API call.

This improves speed and reduces request load on the API provider which can potentially reduce blockage and stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant