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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

888 views 3 12
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