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

Forgot my password - what can I do?

amirben
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!
April 5, 2024

I can see my cloud repository as I log on using my Google account, but I cannot push my local changes without a password, and I have forgotten that.  To change the password I am asked for my old one...  Is there a way out?

1 answer

1 vote
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 7, 2024

Hi Amir,

If this in a terminal/GIT client, we no longer use basic username/password authentication as this has been phased out. You will need to make use of an App Password for communicating to GIT via HTTPS.

  • We have documentation for the creation and usage of app passwords at the following link:
    https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/#Create-an-app-password
  • Essentially, when connecting via HTTPS you will use your App Password alongside your username seperated with a ":" character.
  • Therefore if you are authenticating to GIT over HTTPS to push/pull you will need to update your 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 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).

Please let me know if any issues.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

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

Atlassian Community Events