Skip to content

When working with BitBucket credentials are never reused #1119

Description

@TorRanfelt

Version

2.0.886+ea93cb5158

Operating system

Windows

OS version or distribution

Windows 10

Git hosting provider(s)

Bitbucket Cloud

Other hosting provider

No response

(Azure DevOps only) What format is your remote URL?

None

Can you access the remote repository directly in the browser?

Yes, I can access the repository

Expected behavior

Not having to resupply credentials on each pull/push.

Actual behavior

On one of our computers we had problems with pulling from BitBucket. That has been fixed, but now the App-password must be entered each time a pull or push is made.
We have tried uninstalling Git for Windows (which includes git-credential-manager). Also deleting "[...]\Program Files\git" and deleting .git files in the user directory and removing BitBucket credentials under windows-credentials. In other words allowing for a completely fresh install.

We then install the latest version of Git for Windows (2.39.2).
We try to do a pull, and there are two options. By browser or by password. By browser sends the user to a page where you have to grant access, but that just leads one to an URL at localhost which doesn't work. Hence we use the password option instead. Username and App-password is entered and the pull works. However, during the next pull the credentials have to be supplied again. Under windows-credentials there are now credentials for BitBucket, but apparently they are not used.

I did see the closed issue #1116 but running "git config --global credential.helper wincred" did not help.

Logs

No response

Metadata

Metadata

Assignees

Labels

auth-issueAn issue authenticating to a host

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions