Cannot login with Bitbucket in SourceTree after linking with Atlassian ID/Google


I cannot login on Bitbucket in SourceTree anymore. I have just completed the merge between my Bitbucket profile and Atlassian ID.

The important point is that I login to my Atlassian ID with my Google credentials, so no specific login/password.

I think the issue is due to SourceTree trying to connect with my previous Bitbucket login/password. I should probably provide the login/password used for my Atlassian ID, but since I am using Google "auto-login", I do not have them directly.

I have tried to set back a classic login process with Atlassian ID, but this not seems possible.


How to correctly setup Bitbucket in SourceTree in my situation ?

Or, how to remove Google login and revert to a standard login/password on Atlassian ID ?


Thank you in advance.

8 answers

1 accepted

This widget could not be displayed.

Hi Naëm,

Since one of the steps of the upgrade process was to input your Atlassian account password, you should now have a password set (in addition to being able to use Google). You should be able to use your Bitbucket username and Atlassian account password to authenticate SourceTree.

If you need to reset your Atlassian account password, you can do so here:



This widget could not be displayed.

Same issue. Can connect to bitbucket web but not with the source tree with the same credentials.

Have same issue. Driving me nuts.

Did either of you manage to resolve this issue? I have been having the same issue.

yes, me too , windows 7 professional 32 bit , sourcetree 2.7g , can login web , bitbucket and also atlassian account , but cannot login using sourcetree , even have gone to set the IE and make security to the lowest for all zones , any one found solutions ?

Rather use the previous version, which was working flawlessly.

I got it to work. I completely closed Git and SourceTree. I then when into Bitbucket as if to checkout my code. Instead of cloning in SourceTree, I used the Git command it suggested from the Terminal in SourceTree. It asked for my password and took it when I did this.

Hi , after so many tries ... until almost tempted to scream , finally , i check my internet explorer , it is ancient version 9 , i updated to version 11 and bingo ... everything work fine now .... have been a while since i CARE about the IE ! haha ... hope this help for those who are having problem signing in , in your windows 7 professional.

This widget could not be displayed.

The same. It's ridiculous. I can authorize via git's command line, but sourcetreeapp stopped working. Windows 10 and Windows 7 on other PC. 

This widget could not be displayed.
sec feed I'm New Here Jul 22, 2018

Yeah, just did another install on my second computer and it doesn't accept my login details, It seems like the issue is Sourcetree. I also have no issue logging into the website. Guess Ill have to use github desktop, sheesh. These apps are meant to make our work faster, this just wasted half a day of my time. Windows 10 here.

Not too mention the bad instructions on how to setup sourcetree, I just had to guess what to do, instructions are no help. I managed to get it to work out of pure luck lol.

This widget could not be displayed.

I'm having the same issue now.  I'm prompted for password every time SourceTree attempts to talk with BitBucket.  Even after I fill in the username and password, SourceTree says it has an empty password.  Using git commands I'm able to log in.  I'm also able to log into BitBucket and other Atlassian sites with the same account.



I'm having the same problem. Using the terminal seems to circumvent it though.

I'm having the same issue. Sourcetree won't accept my login information anymore.

I tried switching to SSH and it didn't fix this either, so I'm thinking SourceTree is confused about some cached account information.  (which means: might solve this too)

Personally I uninstalled (and deleted the LocalData SourceTree Folder) and then reinstalled and that seems to have solved this for me.  That said, I'm still using SSH so that could also be part of the fix.  

Mike Corsaro Atlassian Team Aug 07, 2018

Hello! This issue is most likely being caused by an issue in the Git Credential Manager. There's currently a pull-request in review to solve this.

I'm having the same issue.  When the pull-Request gets merged, what do we need to do to make it work again?

Mike Corsaro Atlassian Team Aug 07, 2018

You'll have to download and install the new release of the Git Credential Manager. As a work-around you can also try the following:

  • Remove all "Bitbucket" credentials in the Windows Credential Manager (under Windows Credentials)
  • Switch your URL for your repository to use the SSH url (open the repo, hit "settings", double click on the 'origin' and replace with the SSH url from Bitbucket)
  • Finally, add a new SSH key to Sourcetree and Bitbucket

SSH doesn't require a password prompt or username, so it won't have any of these issues.

@Mike Corsaro, installing the most recent GCM for Windows worked for me.

I got mine to work by removing my username from the remote in each repo and then adding an account in Soucetree that used OATH and setting it to the default.

This widget could not be displayed.

I have a similar problem, can't login to Bitbucket Cloud from SourceTree because it won't accept my Bitbucket username and my Atlassian ID password.

I had another Bitbucket account that this was effecting, and I got it working by using the old Bitbucket password.

That's not possible for a new account now, you have to sign up with the Atlassian ID.

It is not possible to enter your Atlassian ID info into SourceTree, it specifically will not let you use an email address for a username.

How is this not a bigger problem for people?

Hi Michael,

I'm sorry you're experiencing issues authenticating in SourceTree. The behavior you're describing is strange! Are you able to log into Bitbucket Cloud using that password? If yes, but it's not working in SourceTree, can you send an email to so we can investigate?

Thank you!


I am experiencing the same issue. Is there any known fix for this?

To be clear: I am able to login on Bitbucket Cloud using my password but not in Sourcetree. I even tried changing the password and that did not work in Sourcetree, but again I could login with the new password on BitBucket Cloud. I double checked the username and it is correct. no Idea what is going on...

Also, i am having the same issue, any body can help us

Longtime but no answer about this error. I have same issue now, and don't know how to fix it.

I can login to bitbucket cloud with that account as normally.
But both sourceTree and git terminal request credentials when I try to clon repository.

I am facing same issue as well , any solution ?

having exact same issue, I can log into bitbucket and atlassian but not sourcetree with the same login info.

same here.

Same here.  OSX El Capitan

Same issue. I can login to Bitbucket, but when i`m installing Sourcetree, my credentials cannot be validated. Maybe we all should switch to Github...

This widget could not be displayed.
Mike Corsaro Atlassian Team Aug 02, 2018

Hello! If you're having issues logging into Bitbucket Cloud on Sourcetree for Windows, please try and use the "OAuth" option for login:



If you're having issues with logging into Sourcetree for the first time with your Atlassian Account (not Bitbucket Server), then it's probably an issue with your IE11 settings. You can find help in this post.


Note: the next release of Sourcetree will allow you to login via Bitbucket Cloud directly to help solve most of these issues.

This widget could not be displayed.

For those struggling with Git, Bitbucket and Windows authentication, try installing the latest Windows Git Credential Manager:

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

169 views 9 2
Join discussion

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