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

Authenticate SourceTree with Google Credentials


I recently created a Bitbucket account, using my Google credentials to login. I have then created a repository, however, cannot clone with SourceTree, as it prompts for authentication. I tried my Google credentials, though, this did not work.

The only way I can seem to clone and use it, is via the command line, when it eventually prompts the OpenSSH, where I can use a token I created for my account.

Wondering what I need to do to get this working with Sourcetree?

1 answer

0 votes
minnsey Atlassian Team Apr 05, 2019


I would suggest you need to configure your Bitbucket account in Sourcetree to use OAuth. In that way you will have to effectively use your Google credentials to authorize Sourcetree but will then get an OAuth access_token that can be used by Sourcetree and Git.

In Sourcetree for Windows go to the Tools/Options/Authentication tab and edit/create a Bitbucket account using OAuth. 

Hi Michael,

Thanks for the response. I've actually already tried this (sorry that I didn't put it in the original post). 

Even with OAuth configured, it prompts for a username and password for every action (fetch/pull/push). Not sure if that is a separate issue? In this regard, I've updated to the latest source tree, and reinstalled the git credentials manager, though, to the same result.



I am having the same problem, and in repositories/workspaces that I was working on yesterday, suddenly I cannot do a push, clone or pull, nothing.

Did you find any way to solve it?

UPDATE (10' later)
And suddenly startt work again.
I do not understand.

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,187 views 5 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