Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

SourceTree won't authenticate with bitbucket repo

While I can log in to the bitbucket server using a browser, and my SourceTree client on Windows 10 can authenticate with the bitbucket server, my SourceTree client on Mac Sierra cannot authenticate with the bitbucket server.  I have a clone of a project on my Mac that SourceTree can see, but authentication fails when I attempt a pull.  It pops up a dialog requiring my password - I enter the same password used for the browser login, but it pops up another dialog asking for the password.  Eventually it gets to the point of telling me I have to log in with the browser and do a captcha - I successfully do that but after that SourceTree still cannot authenticate.  

I have one suspicion - since the project was cloned on my Mac my network password has changed - this is the same password used by the bitbucket server.  There appears to be no way to edit the password in SourceTree on Mac, although I was able to edit the password in the Windows SourceTree client and make this work.Screen Shot 2018-01-19 at 14.28.58.png

1 answer

0 votes
Manju Atlassian Team Jan 19, 2018

You can remove all items saved by Sourcetree in  Keychain and try. 

Also, you can add your Bitbucket server account in Sourcetree as a hosted account in Preferences - Accounts. This gives you the ability to edit passwords whenever they change. 

Removing all source tree entries from keychain didn't solve the problem.  Adding the bitbucket server entry into SourceTree doesn't work either.  Apparently SourceTree is caching some identity information somewhere that isn't apparently editable, and the Mac SourceTree client has become unusable with Bitbucket.  Pretty sad.

Manju Atlassian Team Feb 22, 2018

It looks like this is a bitbucket server instance. Can you please confirm the authentication protocol and type for the account you are adding in Sourcetree?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,416 views 4 5
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