How to create an OAUTH consumer key in Bitbucket Server

Hi, I've read all the documentation and tried to find out the OAuth section in settings and querying apis from users endpoint, but I'm not able to create an OAUTH consumer key in Bitbucket Server 5.1.0. I've checked out that I have installed several "oauth" plugins (version 2.0.4), but the "Atlassian OAuth Admin Plugin" does not install any modules.

Can you please support me?

2 answers

0 votes

Hi Marco, are you trying to develop a plugin or application that uses oauth to connect to Bitbucket Server? In that case you might want to have a look at this article.

If you're not, can you let us know what are you trying to accomplish so we can help you better?



0 votes

Assuming "querying apis from users endpoint" means sending REST requests from external systems to Bitbucket Server, you might want to read Mibex Software's nice walk through on How to use OAuth with Atlassian products - their example is based on Bamboo, but applies to Bitbucket Server as well:

While Atlassian’s cloud solutions like Bitbucket Cloud make it very easy to use OAuth, the behind-the-firewall editions of Atlassian products like Bamboo Server make this significantly harder — yet not impossible. In this blog post, we will show you how you can access Bamboo’s REST API with OAuth1. To achieve this, we’ll make use of application links. Although we have chosen Bamboo here, the basic procedure is the same for JIRA, Confluence and Bitbucket Server.


Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

631 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot