correct-apricot
correct-apricot2mo ago

[Solved ✅] Auth Token Refresh Issue in Jira and Atlassian

We use Jira and Atlassian tool (for Confluence). After connecting a new account, the APIs work but after 1 hour we start getting 401 Unauthorized error. We are observing the same behaviour on the Composio webtool as well. If we reconnect the account then it works for an hour, then it stops working. Few days back there was no such issue so probably there is some breaking change. Kindly check!
14 Replies
like-gold
like-gold2mo ago
checking
flat-fuchsia
flat-fuchsia2mo ago
@gemtushar The issue you are facing is that your Bearer token is expiring after one hour. We added a change to the OAuth2 configuration where the user does not have to specificy the cloud if themselves, rather we extract it and manage it on our end, this caused an issue with getting the refresh token for your connection which refreshes your Bearer token. We have identified the issue and the issue will be fixed soon.
correct-apricot
correct-apricotOP2mo ago
Thanks @samvit9021 for the update. Please let me know on this thread once the fix has been deployed.
flat-fuchsia
flat-fuchsia2mo ago
Hey @gemtushar sorry for the late reply, the issue had been fixed, do test and let us know if you're still facing any issues!
correct-apricot
correct-apricotOP4w ago
Hey @samvit9021, yes its working now. Thanks a lot! Hi @samvit9021 The issue has started happening again. This time its happening only for Atlassian tool, which we are using for Confluence. Can you please check? PS. We created a new integration and the issue started happening. Unfortunately, we deleted our previous one. I dont know it was just coincidence.
like-gold
like-gold3w ago
Hey @gemtushar, could you check if it is working for you or not, now??
flat-fuchsia
flat-fuchsia2w ago
Hey @gemtushar sorry for the late reply, noting the issue you are facing with Atlassian, can you confirm if you are still facing the same issue with Jira?
correct-apricot
correct-apricotOP2w ago
Hi @samvit9021 this time I wasnt facing issue in Jira, it was only happening in Atlassian tool. For some reason I wont be test the fix right now. You may close the issue. Thanks for the support.
passive-yellow
passive-yellow4d ago
@samvit9021 @thatsmeadarsh In what version did the Jira issue got resolved? I authenticated with token instead of OAuth - I face issues identifying projects in Jira
like-gold
like-gold4d ago
In latest version??
passive-yellow
passive-yellow4d ago
I did the integration through composio.dev UI .
flat-fuchsia
flat-fuchsia2d ago
Hey @Vishnu what is the issue you are facing with regards to Jira right now?
passive-yellow
passive-yellow2d ago
I am unable to create issues. The response says 200 ok but issue didn't get created. Are you facing any issues with Jira?
flat-fuchsia
flat-fuchsia2d ago
Hey @Vishnu could you try creating a new integration and trying? If not perhaps we could jump on a quick call to debug this quickly for you!

Did you find this page helpful?