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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,458,032
Community Members
 
Community Events
176
Community Groups

Authentication Error - "remote: Invalid username or password"

Source tree asking credentials on every pull/push ,

upon entering credentials its says "Invalid username or password"

even though same credentials works in github.com

Please find below attached snapshot

Tried with new credentials but its not working  in source tree but same working in github

Also tried the solution provided in article : https://confluence.atlassian.com/bbkb/authentication-error-remote-invalid-username-or-password-942864127.html

not worked for me

 

Let me know if more details needed in this issue.

 

 

 

2 answers

I also encountered the same problem.

I solved it by using Token as the password.
I don't know if your problem is the same, but I hope this can help you.

 

The website i refer

https://community.atlassian.com/t5/Sourcetree-questions/quot-Failed-to-check-login-for-user-quot-when-trying-to-loggin/qaq-p/1533840

https://dotblogs.com.tw/CYLcode/2020/06/07/120134

Token as a password also resolved my issue.

Thank you for support :)

Like antje.myriknas likes this
0 votes
Daniel Eads Atlassian Team Nov 20, 2020

Hi, glad you were able to get it sorted @Jet and for posting the solution!

For a little more context, Github announced earlier this year that they'd be disabling passwords over basic auth - and the actual shutoff date (November 13, 2020) was last week.

There are two ways to change your account setup to work:

  1. Generate a Personal Access Token in Github and then paste that in place of your Github password in Sourcetree - as mentioned by @Jet 
  2. Switch from Basic authentication to OAuth in the Auth type dropdown in Sourcetree for your Github account. Then click the "Connect Account" button to authorize Sourcetree (this should open your browser and just be one click in Github if you're logged in on the web already)
    image.png

Cheers,
Daniel | Atlassian Support

Which version are you using because the Edit Hosting Account popup in Options->Authentication does NOT have the Connect Account button.
Connecting SourceTree to github is a nightmare. Nothing seems to get rid of the Invalid Username error after I had to update Git/SourceTree

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events