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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Reinstall sourcetree - HELP!

How can I get around this on the connecting to bitbucket step?  I tried Chrome, this was using IE with the same result.  I am using the SourceTreeSetup-3.1.2 installer.  Needless to say I am extremely frustrated with this whole process.  image.png

2 answers

0 votes
Andy Heinzer Atlassian Team Jun 05, 2019

Hi John,

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.

In the meantime, @Seadna Smallwood posted a method to utilize SSH instead of the OAuth.  Details are in perhaps this could help as a work-around until the incident with Bitbucket has been resolved.

Sorry again for the inconvenience here.



I used an installer for an old version we had on our network and managed to coax it into cloning a local repository.  Heavy sigh of relief.

0 votes
Mikael Sandberg Community Leader Jun 05, 2019

This is a known issue and has to do with OAuth, the Bitbucket team is aware of it and are actively working to resolve it. Check for more information.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,816 views 4 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you