I have code like this:
const tokenInfo = await this.getTokenInfo(); // Prosmise-based config.headers.Authorization = to