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

Cannot log in to my GitHub account

Edited

I recently changed my username on my Github account, and now I can't seem to connect to my account from SourceTree. I just get "Login error" even though I'm sure I have the correct username/password.

I am using...

Auth Type: Basic

Protocol: HTTPS

I've tried other options, and they all fail as well. But I'm happy to use any combination of options that works.

2 answers

1 accepted

I just ran into the same issue and suspect it may not have anything to do with the username change:

Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

go to https://github.com/settings/tokens and create a new token with repo access (first tickbox)

then go back to sourcetree and pull up your repo settings.

9meHU

edit the origin path of your repo
from https://github.com
to https://TOKEN@github.com
(paste your token from github, then type @ between https:// and github.com).

save it and it should work again.

Thank you! Finally got it to work again!

Hi Vincent, could you help me adding fresh new GitHub account to the source tree with that token? The only options I can see are those: Screenshot 2021-09-26 at 09.39.45.png

My login credentials are failing, Oauth does take any effect either. How can I provide my token from here? Kind regards.

you don't need to use an account anymore.

instead put your token directly into the repository address as above.

 

if it lets you, you can also use the token as username and leave pw empty.

when i run a git deploy via ssh from the server i do that when it asks for username/pw

Like ReneM92 likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events