Skip to content

Refresh OAuth2 token if it expired #310

@sergeychernyshev

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.

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