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

Cannont install sourcetree, OAUTH fails with "Invalid redirect_uri"

dalziel June 4, 2019

I'm doing a fresh install of sourcetree 3.1.3 and when I click on the BitBucket link on the Registration page it takes me to the BitBucket oauth url with a redirect_uri=http://localhost:34106/ parameter.

That page loads with


 So I am unable to proceed with the installation.


1 answer

1 accepted

1 vote
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2019

Hi @dalziel 

Sorry to hear about this problem with logging into a Bitbucket account from Sourcetree. However this is not just you that is having this problem. There is currently an outage in regards to Bitbucket Cloud's OAuth tokens are not working correctly. This is the cause of the inability to login here and in turn showing that 'Invalid redirect_uri' error message.

Atlassian has just updated our StatusPage about this incident that you can use to track this problem in

I would recommend subscribing or watching that incident for update.  Once this incident is resolved I would expect that you should then be able to use Sourcetree without this error.

Sorry again for the inconvenience here.



David Schrittesser October 11, 2020

I am having the same problem now! I am trying to run version 2.7.6 of sourcetree, is there any possibility to do this? I have only this old mac here to work on...

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events