Hello, sorry for reopening this thread. But I have a strange issue.
curl -L -X GET --user username:password http://api.bitbucket.org/2.0/repositories/<workspace>/
On Centos 7 this gives me:
Bitbucket Cloud recently stopped supporting account passwords for API authentication.
See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
App passwords are recommended for most use cases and can be created in your Personal settings:
https://bitbucket.org/account/settings/app-passwords/
For more details on API authentication methods see our documentation:
https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication
But on Fedora and Ubuntu works.
I need to make it work on CentOS 7, can you help me?
We deprecated Bitbucket Cloud account passwords for Bitbucket API and Git activity earlier this year:
You will need to generate an app password for the Bitbucket Cloud account you use to authenticate with:
and then use your Bitbucket Username + app password for authentication in API calls.
The output on Centos is expected if you are using your account's password.
The strange thing is that you mention that it works in Fedora and Ubuntu.
Just a heads up, I moved your question to a new post. It's best to create a separate question if you need assistance with an issue, as it can become difficult and confusing to troubleshoot multiple users' issues in one post.
Kind regards,
Theodora
One more thing I forgot to mention:
We display this message that you saw in Centos when an incorrect app password is used for authentication (and not only when someone uses their password).
In case you are already using app passwords, please make sure you provide the correct value.
If the issue persists, please leave an answer to the 3 questions I asked in my previous reply and we can further investigate.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.