Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Generate a OAuth for specific repositories

I would need to generate an OAuth Consumer key and secret for a certain repository only.
As far as I've seen, to access a repository I need to generate a key in the workspace to read repositories, but this grants access to ALL the repositories in the workspace.

Could I select only the repositories that I'm interested in instead of them all? It'll be so helpful. If not, I can't use the Bitbucket API.

Thank you,

1 answer

0 votes

Hi @amartinez ,

I'm afraid that this is not possible, we have a feature request for this in our issue tracker:

I'm not sure what is your use case, what exactly you are building, and which flow you are using for generating access tokens (see here for the different flows https://developer.atlassian.com/bitbucket/api/2/reference/meta/authentication).

Keep in mind though that with 3-LO flows, 'Repositories:Read' for example grants read access to all the repositories to which the authorizing user has access.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,776 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you