Skip to content

Refresh OAuth2 token if it expired #310

Description

@sergeychernyshev

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions