Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cant authorize in sourcetree

wojciech_kulesza October 22, 2019

Hi,

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 Champion
October 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.

wojciech_kulesza October 23, 2019

Hi

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

Getting this error:

http://prntscr.com/pmxb5l

 

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 https://username_in_bitbucket@bitbucket.org/directory/repository.git
Output:
Error: Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password
fatal: Authentication failed for 'https://username_in_bitbucket@bitbucket.org/directory/repository.git/'

 

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.

wojciech_kulesza October 30, 2019

Hey, bumping up this one.

Any1 can help ?

Mikael Sandberg
Community Champion
October 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: https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events