Search code examples
bitbucket-api

Issue with oauth1.0a access token on bitbucket


I am really confused that I can successfully get the request token using the oauth1.0a.js API, but not the access token. Always get 'Could not verify OAuth request.' even with the token verifier provided in the form for the POST request. Anyone has the same problem? Thanks in advance.


Solution

  • I solved it by myself today, the reason I found to cause it is that the API did not add the oauth_verifier return at call back url to Basestring for the signature computation.(Maybe because it is the oauth1.0a feature) Manually add it. It solves the problem.