According to this article, Atlassian is dropping basic authentication support with Atlassian ID password on BitBucket, but it will be possible only using app passwords: https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity
I have configured an App password with read, write, admin privileges on repositories, however it is not possible to use APIs to grant permissions to user groups! Such APIs are described here https://support.atlassian.com/bitbucket-cloud/docs/group-privileges-endpoint/ and it seems that a counterpart on REST API "2.0" is not yet available. So, I'm forced to use this legacy versions of REST API. When I use such APIs with App password, I get a 403 error, saying "Your credentials lack one or more required privilege scopes". So, it's not clear what will happen on such legacy API "1.0". Will they still be available with Atlassian ID password? Or App passwords will be fixed? Or, worst scenario, such endpoints will no longer be available?
Thank you,
Andrea
Hi Andrea,
Thank you for contacting Atlassian Community! I'm Norbert from Bitbucket Cloud Support, it's nice to meet you!
I would like to inform you that the repository scope is not enough for the group privileges endpoint.
In case you wish to use this endpoint, can I ask you to include the "Account" scope to your app password as well? Once I included the Account permissions, I was able to use this endpoint.
Please let me know how it goes, Andrea
Best Regards,
Norbert
Atlassian Bitbucket Cloud Support
Hi Norbert,
Thank you for answering.
I confirm that app password works after including the "Account" scope. My problem is now solved!
Is there any documentation about scopes that are assignable to app passwords?
Thank you,
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.