xero-node `refreshTokens` returns `401`
My app has an integration with Xero using the xero-node
SDK. I can complete the Xero authentication process using the OAuth workflow without issues and the token set returned by Xero is stored in my database. However, once the access_token
has expired (after 30 minutes) and the tokens need to be refreshed, invoking the xeroClient.refreshToken
function is failing with the xero API request returning 401
.