Details
-
Bug
-
Resolution: Fixed
-
Low
Description
Summary
Resource Owner Password Credentials Grant (4.3) has stopped working this month.
https://developer.atlassian.com/cloud/bitbucket/oauth-2/
Steps to reproduce:
#!CURL $ curl -X POST -u "client_id:secret" \ https://bitbucket.org/site/oauth2/access_token -d grant_type=password \ -d username=my_username -d password=my_password % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 168 100 93 100 75 50 40 0:00:01 0:00:01 --:--:-- 90{"error_description": "Invalid resource owner username/password", "error": "invalid_request"}
Expected Results
Password Credentials Grant Rest API should be working
Actual Results
Password Credentials Grant Rest API stopped working
Workaround
Use an App password as authentication for API calls.
For example:
#!CURL
CURL https://api.bitbucket.org/2.0/repositories/username/repository_name -u usename:YOUR_APP_PASSWORD
Attachments
Issue Links
- is duplicated by
-
BCLOUD-19048 OAuth 2.0 authentication: grant_type=password stopped working
- Closed