Login from SourceTree validates email/password but then says must use username

When I use my email address (registered on bitbucket) to authenticate from SourcTree the Hosted Account List "Edit Hosting Account" screen shows my password as correct (Login status: Password OK), however, when I press OK a pop-up tells me I need to "enter my Bitbucket/GitHub username and not an email address."

If I use the username then authentication fails.  I see no place on bitbucket.org where I can specify a username.



6 answers

1 accepted

This widget could not be displayed.

Same issue for me. Sourcetree's still not able to handle the change to email ID's used by Atlassian's SSO. The move to SSO is great but it'd be handy if Sourcetree was on board. I was able to get things done by using a non-Atlassian git client like GitKraken.

This widget could not be displayed.

I just started getting this as well today. Now I cannot use SourceTree to connect to my Bitbucket repos.

The username field only lets me use my email address from my Atlassian account, but bitbucket/github are asking for a username and not an email address.

This is really bogus here, and needs to fixed asap.

This widget could not be displayed.

Awesome, thanks Bryan!  I'm up and running using GitKraken now.  I like it better than SourceTree so far, well, the fact that it let's me log in is enough really :-\

This widget could not be displayed.

You're welcome, Kevin. I've logged an issue about this with Atlassian. we'll see.

This widget could not be displayed.

I was just switched from my Bitbucket user name to my Atlassian account email address, and SourceTree 2.3.2 OSX (latest version) will now not allow me to pull into my cloned hg repos.

Finding how to change the username was not entirely obvious - the cog/settings... option in the repository browser. But it won't allow me to change from username to email address.


Please release a version of SourceTree that fixes this and allows SSO logins.


Thanks, Matt

This widget could not be displayed.

Ah! I think I have a fix ... in the repository browser, I selected the Remote tab. Sourcetree then prompted me for my username/password, with the username field disabled. I entered the password of my Atlassian account email address (which is of course, different to my username's password).


I was then able to successfully push/pull to a Bitbucket mercurial repository.

So it seems that my Atlassian account password now works with my Bitbucket user name. This wasn't what I was expecting... I thought that my username/username-password would be no more, and I'd have to use the Atlassian account email address and its password.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,310 views 8 11
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