Code composer studio can't log into Bitbucket

Olivier Prins
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 26, 2024

Goodmorning,

I've been trying to clone a repository from my Bitbucket to my Code Composer Studio, but it keeps giving me an error telling me I'm not authorised.

Please advise.

-Olivier

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2024

Hi Olivier,

Welcome to the Bitbucket Cloud community! :)

May I know how you are authenticating? Is this over HTTPS or SSH?

Cheers!

- Ben (Bitbucket Cloud Support)

 

DANIEL KALEB RUIZ CASALES
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!
September 11, 2024

I´m in the same contex and the autehnticating is by HTTPS.

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2024

Hi @DANIEL KALEB RUIZ CASALES 

The most common issue customers are experiencing related to authentication over HTTPS is due to the deprecation of GIT username/password in favour of App Passwords.

You can try using an AppPassword for communicating to GIT via HTTPS.
We have documentation for usage of app passwords at the following link:

Essentially, when connecting via *HTTPS* you will use your AppPassword* 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 *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)

Suggest an answer

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

Atlassian Community Events