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

Can't login on github in any way

verhoog_s2 February 20, 2020

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 5, 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
AUG Leaders

Atlassian Community Events