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

Can't connect to Bitbucket account from Sourcetree "Invalid redirect_uri" Edited

When I try to connect my (freshly installed, but very old versioned) sourcetree to my bitbucket account, after taking my credentials, it tells me:

"Confirm access to your account
Invalid redirect_uri
This integration is misconfigured. Contact the vendor for assistance."

I am trying to run Sourcetree on an old mac (El Capitan, 10.11.16) and installed Sourcetree version 2.7.6.

2 answers

Yeah this is extremely frustrating and I have no idea how it made it past the most basic QA tests before release. 

It also opens up a million tabs because there is a URL parsing issue in their code. This occurs when you try to use OAuth on 3.3.9 of Sourcetree.

I was once much nicer about it but at this point, it's a sign that they do not care. Thusly it should not be very insulting, perhaps motivating to fix their product. 

Happens in 3.3.8 too. There must be some bad data being passed from their auth server.

I found the fix


 Screenshot 2020-10-16 110908.png

Took two seconds to get my BitBucket and GitHub connected. It was effortless. 

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...

4,400 views 4 8
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