Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't login on github in any way

Edited

Is there any way to log in to Github that works?

I used sourcetree successfully but it now asks to log in.

I tried:

basic login: the accounts dialog doesn't protest, but when pushing my project I get a "remote: Invalid username or password."

OAuth via HTTPS: the accounts dialog doesn't protest, but when pushing my project I get a "remote: Invalid username or password."

OAuth via SSH: I get an error notification that the SSH key could'nt be uploaded. but the message is not shown entirely and when clicking on it, nothing happens (bad UX!!)

How do you connect to Github? 

 

EDIT: SOLUTION:

 

Wow, Atlassian has to work on the UX of Sourcetree's login system.

Because counter to any logic, the trick is to NOT use the settings > accounts tab.

 

This is how I managed to log back in on my github repo:

1 Delete old login trash (that, despite not showing in the accounts tab, still is present!!!) at: ~/Library/Application Support/SourceTree (basically everthing with an emailadress in the file name). more info here.

2 Because I have 2 factor login: create a login token and make sure you add the right permissions https://github.com/settings/tokens

3 Try to push the repo and then Sourcetree finally allows you the opportunity to type in your token.

 

1 answer

0 votes
Jack Brickey Community Leader Sep 05, 2021

@verhoog_s2 , were you able to resolve this issue? If so could you please share the details of what you found?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,219 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you