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

0 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Oct 23, 2018 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...

847 views 3 2
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