We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hello,
It looks like there may be a bug in the Atlassian provider as the following code:
const newTokens = await atlassian.refreshAccessToken('...');
Produces an error:
OAuth2RequestError: invalid_request at OAuth2Client.sendTokenRequest
Looking into the codebase I think there may be a wrong method call in arctic/dist/providers/atlassian.js
arctic/dist/providers/atlassian.js
async refreshAccessToken(refreshToken) { const result = await this.client.validateAuthorizationCode(refreshToken, { authenticateWith: "request_body", credentials: this.clientSecret }); // ... }
Should be:
async refreshAccessToken(refreshToken) { const result = await this.client.refreshAccessToken(refreshToken, { authenticateWith: "request_body", credentials: this.clientSecret }); // ... }
Many thanks, Jim
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
It looks like there may be a bug in the Atlassian provider as the following code:
Produces an error:
Looking into the codebase I think there may be a wrong method call in
arctic/dist/providers/atlassian.js
Should be:
Many thanks,
Jim
The text was updated successfully, but these errors were encountered: