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

How does the client credentials OAuth flow work in BitBucket cloud?

I am trying to implement a client_credentials flow against Bitbucket cloud.  Per the instructions at,  I created a consumer key in my account settings, but when I attempt to exchange my credentials for an access token, I get an error:

curl -XPOST -v -u '<consumer_key>:<consumer_secret>' -d grant_type=client_credentials

I get back a 400 Bad Request:

{"error_description": "No callback uri defined for the OAuth client.", "error": "invalid_request"}

 Everything I've read so far suggests this should work.

1 answer

Have same problem

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Bitbucket Server 7.0 is here!

Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...

1,109 views 6 5
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