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

Trouble logging in to SourceTree



When I was using SourceTree (version 3.1.2, Mac OS 10.14.4), I was prompted for password for every push and pull I did, and after some time, it started showing me errors. 

I tried reinstalling SourceTree, I successfully passed installation process but when I try scanning remote repositories, I am again prompted to sign in. When I click the sign in button, I gat this error:


Invalid client_id

This integration is misconfigured. Contact the vendor for assistance.


Can you please help me to set SourceTree correctly?


Kind regards,


1 answer

0 votes
bgannin Atlassian Team Apr 08, 2019

Hi @Ivan Mitrić,

We've not encountered this so far but QA is going to attempt to reproduce and I'm started a discussion with the Bitbucket Cloud team as well. We're sorry for the hiccup and appreciate your patience as we get to the root of this.

Brian Ganninger
Principal Developer, Sourcetree

what a pain.

I get

Confirm access to your account

Invalid redirect_uri

This integration is misconfigured. Contact the vendor for assistance.

i get This integration is misconfigured. Contact the vendor for assistance.

Same issue for me when trying to confirm access to my bitbucket account. Any advice?

I'm getting the same on a fresh install of SourceTree for Windows.


I had a BitBucket account in the past and not long ago came back to it and had to change to an Atlassian ID. I don't know if that has anything to do with it.

Jimmy Seddon Community Leader Jun 05, 2019

Hey Guys,

I've seen a bunch of people posting about the url redirect issue this morning.

I think you might be running into this:


While there isn't a posted solution for it yet, you might want to go vote, watch and comment on that issue.

Sorry I can't offer more help.


Same issue here.  Looks like you probably have an OAuth config problem in your production environment.

Version 3.1.3, and 3.1.2 (Windows) both have the same problem.

My url includes the redirect_uri querystring parameter of 'http://localhost:34106/' - so either your installers have an invalid baked localhost uri redirect, or your production OAuth environment is not allowing a proper OAuth bounce-back to the localhost url.

Version 2.6.10 uses a different authentication interface and I was able to get that version to authenticate so I could complete installation successfully.

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

7,249 views 5 14
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