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

SourceTree is repeatedly asking for Bitbucket credentials

alondono July 3, 2018

I am using SourceTree v2.6.9.0 on Windows 10. My repositories are in Bitbucket, and my Bitbucket account has 2-step verification.
For several days, maybe about a month, SourceTree has started showing a dialog asking me for my Bitbucket login, about every 20 minutes or so.

BitbucketLoginInSourceTree.PNG

This is the dialog that I get. The difference is that it has the username pre-filled.


It doesn't matter if I enter my credentials, or simply close the dialog without doing anything, the dialog keeps popping up several times a day. And also, I can keep pushing and pulling without issues, even if I just simply ignored the dialog and closed it.
Other people in my office, with the same version of SourceTree, and accessing the same repositories in the same way, don't get these. The one difference between them and me is that I have been using SourceTree for about a year, or more, while everyone else started using it, on my recommendation, in the last couple of days. This has made me think that a fresh install would solve my issue, but I am not convinced. There should be a better solution.

I've tried solutions like this one https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-continuously-prompting-for-colleague-s-BitBucket/qaq-p/601906
without complete success. After following the instructions on that answer, I don't get the login dialog every 20 minutes, but now every 2 hours and 40 minutes (yes, I write the time every time I get the popup).

I am not sure what else to do, apart from uninstalling, and re-installing SourceTree.

2 answers

0 votes
alondono July 31, 2018

At the end I decided to uninstall Sourcetree completely, and re-install it.

Now I don't get the popups.

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 6, 2018

Hello! Could you try removing all the accounts in the accounts page, restart Sourcetree, and then try and re-add them? It sounds like an old access token is being held somewhere.

alondono July 9, 2018

Hi Mike. Thank you for your reply. I have tried what you suggested. I have gone to Tools > Options, and on the Authentication tab I have deleted all accounts as well as all saved passwords. That page was left empty. I then restarted SourceTree, went back to that page and added my Bitbucket account, selecting SSH protocol and OAuth authentication. But again, I am getting prompted for credentials every 2 hours and 40 minutes.

Then I tried again, deleting all accounts, restarting SourceTree, but this time not adding a Bitbucket account. Still same effect. After a while it started asking for my Bitbucket account credentials.

Thai Truong July 31, 2018

I am having the same issue.  Please help!!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events