Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to pull code on server: App password not working

Backend Developer
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!
November 23, 2022

app password is not working.
giving error like
remote: Login failed due to incorrect login credentials or method.
remote: If you are unsure of which login details or login method to use, visit:
remote: https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/

 

i have created new app password 

1 answer

1 accepted

2 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 24, 2022

G'day! 

If you have configured an AppPassword but are still having issues authenticating, you will need to ensure that all of your remote configurations are updated to reflect this.

Therefore if you are authenticating to *GIT over HTTPS* to push/pull you will need to update your remote URL's to include the *AppPassword*:

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 also that all stored passwords related to authentication over GIT are cleared from your machine (ie Credential Manager for Windows, Access Keychain for Mac or /etc/shadow folder for Linux).

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

Backend Developer
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!
November 25, 2022

hi, thanks for supporting. is there any other way to access if i delete app password.

can't i use my bitbucket password.

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2022

Hey again,

The only methods for cloning are HTTPS via App Password or via making use of SSH with a public/private keypair:
https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/

Cheers!

- Ben (Bitbucket Cloud Support)

gnana_
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!
February 12, 2023

Thanks Ben for the solution.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events