Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error: username or password

Lorenzo dal Pra September 23, 2021

Hi there,

I'm having issues with sourcetree, the password and username are right, but every time I try to clone a repository this message appears:   Error: remote: Invalid username or password.


I've tried every possible solution that I've found on various forums but the problem's still there.


What can I do?


PS. with other programs like bit tortoise everything is working fine but I have to use sourcetree for internal company politics


Many thanks 



1 answer

0 votes
Katie Campbell September 24, 2021

Try selecting OAuth instead of Basic and see if that works to authenticate you. I saw the same thing when I used basic and know the password was correct.

Katie Campbell September 24, 2021

You can also generate a Personal Access Token, select Basic and use that as the password

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events