Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cant authorize in sourcetree


im on Windows 10, with newest version of source tree and im having troubles authorizing. I’m sure I type in correct credentials (trying with user name and email) as I’m able to login via website.

this happens on one machine. Didn’t have troubles before. 

Any help appreciated. I will try to update that ticket once I’m on another machine to see if that happens too.


1 answer

0 votes
Mikael Sandberg Community Leader Oct 22, 2019

Make sure Windows Credential Manager has the correct password, it does not automatically update your password when you change it. I have a handful of developers that have this issue every time they change their domain password.


it helped only partially. I was able to log in to bitbucket and list all repos but unable to clone it.

Getting this error:


And after I unsuccessully try to provide credentials in the double popup (trying both username and as email and password) this shows up then:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/myuser/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" ls-remote
Error: Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for ''


I tried to login to bitbucket both as OAuth and Basic (usernam and pass) - both successfull, but both end up with errors when trying to clone.

Hey, bumping up this one.

Any1 can help ?

Mikael Sandberg Community Leader Oct 30, 2019

To rule out that there a saved password that is causing it, go to c:\users\<your user ID>\AppData\local\atlassian\sourcetree and delete the passwd file. Then try and clone the repository again.

You could also try and setup a SSH key, that way you do not have to deal with usernames and passwords for Bitbucket. You can find the instructions on how to do that here:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,025 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you