How Do I create Oauth 1.0 secret and key from Bitbucket server

According to this link, there is on OAuth 2.0 support for Bitbucket Server: https://community.atlassian.com/t5/Bitbucket-questions/BitBucket-Server-OAuth-2-0-Support/qaq-p/595368

We have a script that uses the RESTful api to get information from our Bitbucket Server  We are using Basic Authentication and would prefer to use OAuth.

I'm on Bitbucket Server 4.14.0 and I can't find any documentation that will tell me how to get the secret and key from bitbucket. Plus there doesn't appear to be anything in the user interface that *might* be a place to get it.

There are various places where there is a pointer to a page which is gone or some vague reference to JIRA Oauth.

Can anyone tell me how to get the Oauth 1.0a secret and key from Bitbucket server? Or, possibly, tell me that it's not possible?

Thanks
Dave

1 answer

0 vote
Mikael Sandberg Community Champion Sep 20, 2017

Hopefully this link will help, https://bitbucket.org/atlassian_tutorial/atlassian-oauth-examples

It has OAuth code samples in several programming languages. I found it when looking at the Bitbucket REST documentation.

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

25,195 views 26 12
Join discussion

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