Details
-
Suggestion
-
Resolution: Invalid
Description
Hello,
I am the lead developer at a premium WordPress plugin development agency, and we're currently working on an integration with BitBucket. The first problem, however, is that I am unable to even request a token so that the user can authenticate access to their BitBucket account. This is the url that I am attempting to browse to:
{timestamp}&oauth_consumer_key=
{key}&oauth_signature_method=HMAC-SHA1&oauth_signature=
{secret}&oauth_callback=http%3A%2F%2Flocalhost%2Ftest%2F
The url was generated using the testing site recommended on the BitBucket documentation page here: https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+bitbucket
It's also worth pointing out that the testing site recommended on the document listed above doesn't allow requesting an initial request token, because it doesn't send an oauth_callback parameter. Therefore, the BitBucket API just returns an error every time you attempt to use it.
I have tried every permutation of the url above that I can think of, using PLAINTEXT, generating a new APP with new keys/secrets, generating new timestamps. Nothing has worked.
My goal with this plugin is to allow users to download tags as zip files from private and public repos. I'm thinking that I can do something like:
{user}/
{repo}/get/
{branch,tag}.
{zip,tar.gz,tar.bz}and pass the authentaicated OAuth token as a parameter to access the zip file.
We have been working on this integration for a few weeks, and we would like to get this plugin into the hands of our users as quickly as possible.
Thank you very much for the time.
If you need more information from me, please let me know.