Cannot change bitbucket password without breaking SourceTree

I've seen recent posts on related issues but mine seems to relate solely to login via SourceTree on the Mac.  I have version 2.6.3 (134).

I changed my password on bitbucket.  That worked fine.  But then I could no longer authenticate myself on SourceTree so pushes and pulls all failed. Naturally I quit and restarted SourceTree and checked I could login to bitbucket ok with my new password.

I tried resetting the password in SourceTree -> Preferences -> Accounts but I needed to use my username and not email address (although login to bitbucket is now with email address); then when I changed it to my new password I was not authenticated; the password was changed but then not accepted.

Luckily I did manage to find my old password and reset it in bitbucket and then changed it back in SourceTree (via Preferences -> Accounts) and all is well again.

But if I ever do lose my password I can see the risk of blocking access to all  my repositories.

1 answer

1 accepted

You can use OAuth in Sourcetree, which will allow you to login to Bitbucket just the way you do on a browser and fetch your username and path tokens. 

You don't have to be worried about blocking access to your repos this way. 

Also, you can generate an ssh key from Sourcetree and upload it to your bitbucket account to have a seamless experience using both the products. 

Hope this helps!

Sourcetree Mac Developer

great Manjunath, OAuth sorted it, easier than ssh.  Thanks very much!

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

231 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot