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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Connecting to github from Sourcetree hangs after credentials entered

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?




3 answers

Same problem here.  Sourcetree 4.0.1

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

I am facing the same issue.

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 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

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,


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
AUG Leaders

Atlassian Community Events