Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events