SourceTreeForMac keeps asking me for github authentication

Rafael Almeida
Contributor
March 7, 2017

Just downloaded the version 2.4.1 and It fails every time to authenticate to the github server. All the info is correct, I'm using two-factor-authentication and both SSH and HTTPS protocol fail. Is it a bug?

Steps taken:

Top bar>SourceTree>Preferences>Accounts>Add...

Host:GitHub

Auth type: OAuth

Login through Connect Account (Successfully)

Protocol: HTTPS

OK.

For the first try I get "The request timed out."

For subsequent tries I get "Could not authorize request with the available token. Please re-authenticate."

7 answers

1 accepted

1 vote
Answer accepted
David Benson _draw_io_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2017
Marc Küllmer February 27, 2018

I'm sorry but your work around just does not work. The token has received all permissions. In Visual Studio, the token also works.

 

SourceTree Version 2.4.8 for Windows 10 64 Bit

1 vote
Renetik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 3, 2018

Basic authentification is the simple solution...

1 vote
kmr_0877
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 21, 2017

Did u try with basic instead of OAuth and did you find a pop up window asking for authentication?

Abin Alex Pothen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2019

That worked. Thanks.

0 votes
steve
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2019

Sourcetree is a disaster.

daner0606
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2019

I agree!

0 votes
Rafael Almeida
Contributor
March 7, 2017

Damn, I couldn't find that anywhere, it worked. The documentation is misleading though. It says "For versions earlier than SourceTree 2.4 for Mac and SourceTree 1.10 for Windows." but my version is 2.4.1 and I needed this workaround. Make it an answer please

0 votes
Rafael Almeida
Contributor
March 7, 2017

Sorry for the delay @David Benson [draw.io], here it is

0 votes
David Benson _draw_io_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2017

Could you extend your answer to show exactly the steps you follow, maybe with screenshots?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events