Skip to content

Support automatic access token refresh when using OAuth2 #146

Description

@labac-p

When using OAuth2 with backlog-js, the Backlog client currently accepts a static accessToken:

const backlog = new backlogjs.Backlog({ host, accessToken });

However, access tokens expire, and the client does not appear to automatically refresh the token using a refreshToken when a request fails due to token expiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions