I am trying to implement a client_credentials flow against Bitbucket cloud. Per the instructions at https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html, 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>' https://bitbucket.org/site/oauth2/access_token -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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.