Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I have a user with 2 BitBucket.org accounts listed

brippe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2023

I have a user who is showing 2 Bitbucket accounts. This user is having issues cloning repos. He get prompted for username and password and can never get past the prompt even though he's using the same credentials he used to login to Bitbucket. Looking at his account I see the following:

2bbaccts.png

There are 2 Bitbucket accounts. Where all the other users look like:

1bbacct.png

Just 1 Bitbucket account. 

How do I get rid of the second account on the above user? I assume this is what's causing the issue with him not being able to clone because of incorrect credentials. When cloning, i.e., git clone https://user@bitbucket.org/nocccd/some_repo, he gets a prompt for credentials which gives invalid credentials. 

login.png

Am I correct in thinking the 2 Bitbucket accounts are causing an issue? Any suggestions on how to fix it? Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Blue Ridge Consultants
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2023

I can't give you the exact reason this is happening, but we've solved similar problems before by creating an Application Password and using that password when prompted for authentication. Have the user visit this page this page. Good luck!

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2023

G'day!

I agree with the reply from @Blue Ridge Consultants - this prompt is as a result of a change introduced to improve security by phasing out username/password authentication over HTTPS:
https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231

Essentially, they will need to follow the linked application password documentation above to create an App Password for authentication.

When they are connecting via HTTPS, they will need to use their App Password alongside their username seperated with a ":" character.

Therefore if they are authenticating to GIT over HTTPS to push/pull they will need to update their remote URL's to include the App Password:

git remote set-url origin https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git

The same applies when performing git clone:

git clone https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git

I would suggest ensuring that they also ensure that all stored passwords related to authentication over GIT are cleared from their machine (ie Credential Manager for Windows, Access Keychain for Mac or /etc/shadow folder for Linux).

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

brippe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2023

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events