SourceTree: Multiple BitBucket accounts

In SourceTree for Windows, I have multiple Bitbucket accounts created (actually just 2). They both have different passwords. SourceTree seems to get confused by this, and constantly prompt me for passwords even though I've saved them. I don't have this issue if I only have one Bitbucket account associated.

2 answers

Hey Dan,

There's a bug which has been fixed for the next minor release (in 2 weeks~ time) that occurs in certain scenarios. This causes HTTPS auth details to not be remembered correctly if it's the very first time, but only for some users. To fix this, you can open the keychain application and add it manually by putting in 'bitbucket.org' and your username, then specifying the password. This way, SourceTree can then use the keychain to go and get those auth details and you won't be prompted again.

1.9.3 will fix this, however. Very sorry about that, fortunately there's a workaround for this case.

Cheers

Hi Kieran,

Thanks for the very quick reply :) Sorry, I forgot to mention that I'm using the Windows version. I'm not sure what a keychain application is, but a quick Google suggests that it's a Mac thing. Is there something similar I can do to resolve it in the Windows version?

Thanks again,
Dan

Kieran's issue is regarding a very similar issue for the Mac version. I don't think the version or fix that he is referring to will have any relevance to us Windows users.

You're right, Seth. Windows works completely different, and that doesn't have any bugs in authentication.

@DanI can only suggest that you haven't loaded your keys, perhaps? Are you using Pageant?

I'm using SourceTree's inbuilt 'Hosted Repositories', which has 'HTTPS' as the preferred protocol - so I presume this just uses the username/password for authentication and doesn't involve keys?

I've just tried changing one of the Bitbucket accounts to use SSH instead of HTTPS, and this seems to have got around the issue. There does seem to be a bug in the Windows version with multiple Bitbuckets accounts that are using HTTPS authentiation though.

I seem to have this issue right now as well, multiple users on a windows machine accessing source tree we get asked for different users credentials for sourcetree. 

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...

834 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