Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,554,402
Community Members
 
Community Events
184
Community Groups

Cannot connect to bitbucket account since app passwords introduced

Edited

Since app passwords were introduced I havent been able to push to bitbucket. I have set up an app password, but when I try to edit my sourcetree bitbucket account details I get the error message:

 

Failed to check login for use [xxxxx] Your credentials lack one or more required privilege scopes. Your credentials lack one or more required privilege scopes.

 

Has anyone had similar problems, and better still, found how to resolve them :-)

3 answers

Hi, 
I tried many solutions like unistall sourcetree, remove passwords from keychain app, remove user from sourcetree... but still got the same error.

It kept asking me the password for my email credential.

How I solved

- Go to Preferences > Advanced
- There's a list (in my case just one) of hosts' names related to username
- Edit that file removing the email and insert the username.

Sourcetree use that setting for URLs which don't include one.

Edit:

Here's what worked for me

  1. Created an app password in my profile in Bitbucket (make sure it has read/write access for Repositories, Accounts, and Pull Requests (if you use these):

    https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/

  2. Edited my account under the SourceTree preferences/settings and updated my password with the app password

  3. If you're on a Mac, you may need to delete your bitbucket account password from your computer keychain first to do step 2

----------

I had the same issue just now. Haven't found a solution yet.

This worked for me!!!

Edit:  

Step1:

  1. Created an app password in my profile in Bitbucket (make sure it has read/write access for Repositories, Accounts, and Pull Requests (if you use these):

    https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/

  2. Restart Source Tree and hit Pull, a pop up appeared asking for login credentials.
  3. Provide Bitbucket username and Above created app password.

Now, it's normal.

Hi:

 

I had the same problem and it was solved by closing Sourcetree then  removing a file called "passwd" from this folder:

...AppData\Local\Atlassian\SourceTree.

 

Then you open and do a Fetch in Sourcetree and it will ask you to enter your password. You will enter there the App Password you created.

 

I hope this helps someone else.

 

Thanks.

This was EXACTLY the only thing that worked for me! Thank you!
That passwd file is evil!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events