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
4,293,766
Community Members
 
Community Events
165
Community Groups

[dev-team] Known Issue: Bitbucket Login with Git Credential Manager 1.16.1

Edited
Mike Corsaro Atlassian Team Aug 08, 2018

Update 1: a release preview with fixes for these issues is now available here

Update 2: this issue has been resolved. Please download the Git Credential Manager v1.17.1

 

Hello!

 

We've recently become aware of an issue with the Git Credential Manager (which is bundled with Git) where Bitbucket login stops working. The GCM team recently released a new version (1.17.0) which fixes this issue, but only when using basic authentication.

 

If you're using basic authentication: please download and install GCM 1.17.0, which you can find here.

 

If after installing GCM 1.17.0 and you're still having issues: please try removing all "Bitbucket" credentials from the Windows Credential Manager and then try again:

credential_remove.png


If you're still having basic login issues: you can also try manually adding your login: navigate to https://bitbucket.org and view your profile to obtain your username. After getting your username open the Windows Credential Manager, and add a Generic Credential under "Windows Credentials". Note: this will only work if you do not have 2FA enabled.

manual_credentials.png

 

 

If you're using 2-factor login: a hotfix is currently in-progress which should be released soon.

 

If you're using SSH: SSH is currently not affected by this bug. Additionally as a work-around you can change your repository to use SSH. You can find directions on how to use SSH with Sourcetree here. We generally advise users to use SSH as it's easier and more secure than username+password authentication. 

 

 

 

 

4 comments

Thank you but I'm still having the same issue (Atlassian login pops up when I fetch), and it doesnt accept my app password. I kind of gave up on it and I'm just using the terminal window with git commands instead.

Ditto on the log in popups during fetch.

I am not convinced this issue is resolved, and I have logs to justify my skepticism:
https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/725

Note this is using the latest GCM (v1.17.1)

Ok, so I use basic authentication. I used to use a Windows GUI client to branch, pull and push etc, but recently moved to command line in VS. The GUI's seemed to never have this problem anyway, but the terminal did.

It turns out that what they say above does work. I've just installed the latest GIT Credential Manager, and then went and deleted and readded my Bitbucket credentials to the Generic Credentials.

Re-starting Visual Studio allowed me to push my code first time without showing the login box.

Thanks for the fix guys!

what is the estimated date for fixing this bug?

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,357 views 127 26
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