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

How to use App Password to log in?

jimerman October 12, 2022

After creating my App Password, I followed the directions here, but in my GIT command line I get the following error:

 

E:\Data\dotNetDev>git clone https://xxxxx@bitbucket.org/xxxxx/xxxxx.git
Cloning into 'xxxxx'...
fatal: Invalid credentials
Password for 'https://xxxxx@bitbucket.org':
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://bitbucket.org/xxxxx/xxxxx.git/'

 

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2022

Hey Jim,

I have censored your post as this is a public forum and you had included your personal workspaceID/repo URL.

To make use of the AppPassword - your clone command should have the AppPassword listed beside the username, as well as your remote URL's in the following format:

Remote URL

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

Clone Command

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

Please try this and let me know how it goes.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events