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

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.

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.

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 :-\

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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,927 views 26 12
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