Share OAuth token between Atlassian products instances

I am writing an integration module that uses Atlassian APIs for applications installed at our office (server environment). All use Active Directory Authentication.

I want to leverage OAuth for invoking Atlassian REST APIs on behalf of logged in user (who is one of the administrators) rather than printing admin credentials in a config file. This application will automagically create plans and fork repositories.

The OAuth flow involves that the currently logged in user opens an Atlassian application (say, Jira...) page to authorize a token. Since we need a token for each of the 4 applications, the basic idea suggests to prompt the user 4 times about issuing a new token to the client application.


Question is: is it possible for Atlassian product instances installed in the same domain to share OAuth tokens? E.g. if Confluence grants a token for user John, that token is still valid for Bamboo and BitBucket for user John according to his permissions on the two applications.

Or does John have to click "authorize" on 4 applications?


I would like to make a smooth user experience.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,959 views 19 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you