Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events