Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

168 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you