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

Connecting to github from Sourcetree hangs after credentials entered

Joshua Dubey March 18, 2019

I am trying to connect Sourcetree to my github repo.  I am using version 2.7 on the mac.

I am using 2FA.  Once I enter all my credentials successfully, the window says

 

You are being redirected to the authorized application

If your browser does not redirect you back, please click here to continue.

 

However, the browser never redirects (I've waited quite some time), nor does "click here" do anything.  My only option is to cancel, and the account is not added.

Any ideas?

Thanks,

 

Josh

3 answers

0 votes
alexlavr March 9, 2020

Same problem here.  Sourcetree 4.0.1

alexlavr March 9, 2020

Found a fix. Restarted my mac and it works ok. 

0 votes
tejender March 5, 2020

I am facing the same issue.

0 votes
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2019

Hi @Joshua Dubey,

Is there any interesting networking in the way (managed by IT, firewall[s], etc.) out of curiosity? Are there any interesting logs in the Console app related to Sourcetree/GitHub when you do so? Sorry for the hiccup.

Brian Ganninger
Principal Developer, Sourcetree

Joshua Dubey March 20, 2019

Hi Brian,

No firewalls, etc. that I know of.  I have no trouble connecting to Bitbucket repos, even with 2FA.

I upgraded to ST 3.1 for the mac, and the issue above went away, but I am having different issues now where either ST complains about not being able to upload a public key, even after I've added it manually to github; or if I use HTTPS, ST claims my login credentials are wrong.

I tried connecting to github with their desktop client and I was having almost identical issues, so it might not be ST related.  Some research I've done leads me to believe it might have to do with it being a private repo (though that seems odd).

When I have some more time I can give you more details on all the scenarios, if you think it will help.

Also, git works fine from the command line.

Thank you for your response,

Josh

Narsi Gangishetti May 10, 2019

same problem for me. thanks.

Mac OS X version 10.11.4

Sourcetree Version 2.5.3

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events