-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Medium
-
Component/s: Integrations - API
Same issue as BCLOUD-16985
Summary
Resource Owner Password Credentials Grant (4.3) has stopped working recently.
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 148 100 93 100 55 59 35 0:00:01 0:00:01 --:--:-- 94{"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 a different grant type to proceed further:
For example:
#!CURL curl -X POST -u "client_id:secret" \ https://bitbucket.org/site/oauth2/access_token \ -d grant_type=client_credential
- duplicates
-
BCLOUD-16985 OAuth 2.0 API Password Credentials Grant stopped working
-
- Closed
-