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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
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...

2,048 views 1 5
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