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.
When using OAuth2 with
backlog-js, theBacklogclient currently accepts a staticaccessToken: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.