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

This widget could not be displayed.

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?



That link no longer works. Can you please post an update?

This widget could not be displayed.

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 Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,205 views 8 11
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