I'm using Sourcetree with Bitbucket on Windows. I'm currently at 2.4.8.0, but have been using current versions for about a year. When I try to clone a remote repository authentication always fails. What I see is this:
If I right click on the account, select Edit Account, and then select Refresh OAuth Token, then I'm taken to a blank web page in my active browser and the account changes from this:
To this:
I'm using a Google account for authentication on BitBucket and I've verified that Google is allowing access for Bitbucket. What am I doing wrong here?
Hi
The final screens suggests you have successfully received an OAuth access_token so REST calls and Git actions should all work.
If you refresh your taken, as you have been doing, and then before opening the remote repositories list can you then run a fetch against a Bitbucket repo?
Does tie effect your ability to list remotes? The Bitbucket OAuth token should auto refresh every hour.
Finally can you confirm you are using Git >= 2.15?
I am able to get the token, but it apparently never refreshes automatically. I have to go through the above process every time I want to clone a remote server. If I go through the above process I am able to clone successfully; I just don't understand why I should have to do it every time I clone a new remote. What could break the automatic refresh process?
I can list remotes for existing locals, but I can't list remote repositories when on the New Tab: Remote Repositories page.
git version 2.15.1.windows.2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have experienced similar issues when I have multiple, older versions of git installed and something like Visual Studio Code is triggering a copy of git that uses an old version of GCM that does not understand Bitbucket OAuth.
Do you have any other copies of Git installed?
Using the terminal can you run
git credential-manager version
and post the result?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
$ git credential-manager version
Git Credential Manager for Windows version 1.12.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try updating to Git >= 2.16 which ships with Git Credential Manager 1.14.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wasn't able to get a good package for Git Credential Manager, but I installed a standalone Git 2.16, but I'm still forced to go through the above process for remote access.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.