Forums

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

Can log in with OAuth but not Auth for Cloning

Bil Repenning
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!
December 22, 2023

We transferred our account from a local bitbucket server to a cloud server.

I'm the admin, but in the transfer my account was never able to clone.

I can log into our account and see everything through he browser just fine.  This is by using OAuth from our MS OAuth.

But I am unable to authenticate when cloning: CLI, VSCode, SourceTree.

I don't remember ever setting a separate password and my OAuth password does not work.  I've even tried using likely passwords I would have used if I did set a password and just forgot.

I can't reset my password because I don't know which password bitbucket thinks I have.

I don't want to set up SSH without really understanding what is wrong for fear that I'm making things more convoluted in the process.

Any help - or suggestions on where I'm being dense - would be appreciated!


Thanks

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 26, 2023

Hello @Bil Repenning and thank you for reaching out to the Community!

In order to execute git operations over HTTPS or API calls to Bitbucket Cloud, you should use an App password instead. This is different from the password you use to log in to the UI.

The clone URL will look like below : 

git clone https://USERNAME@bitbucket.org/WORKSPACE/REPOSITORY.git

You can check (and change) your Bitbucket account's username by navigating to your Personal Bitbucket Settings. When prompted for the password, you should provide an App password.

If you haven't already, you can create a new app password in your account, and use it to authenticate the clone. To clone a repository, the app password should have at least repo:read scope.

Hope that helps! Should you have any questions, let us know!

Suggest an answer

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

Atlassian Community Events