Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,011
Community Members
 
Community Events
168
Community Groups

Support for Atlassian ID pasword in basic auth will drop in March, how to use legacy REST API (1.0)?

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

1 answer

1 accepted

1 vote
Answer accepted
Norbert C Atlassian Team Dec 15, 2021

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,502 views 3 10
Read article

Atlassian Community Events