Forums

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

App password for bitbucket from Rstudio

G973
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 14, 2022

I use bitbucket as a remote depository of R projects and I push and pull from Rstudio.
I recently have add a message telling me that using an app password will be needed from the 1st March. I have created an App password as explained here: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
I can see it from my bitbucket account online but I must have missed a step because I am not prompted to use this passwork when pushing from Rstudio and I still see the message asking me to activate the app password.

Would someone be able to help ?

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2022

Hello @G973 ,

Welcome to Atlassian Community.

I've reviewed your case and from my understanding you have created an AppPassword, but your not being prompted to provide it when pushing to your repository.

This behavior is most likely due for you currently having git cached credentials configured in your environment, which probably contains your old account password, and thus is not prompting you to provide a new one.

There are several ways to configure cached credentials in git, either trough credential helpers (which vary between different operating system, like Windows, MacOS and Linux), or the ones implemented by git itself.

That said, my suggestion would be for you trying to clear any possible git credentials cache you currently have on your system : 

  1. Windows: Navigate to Credential Manager and clear stored credentials related to Bitbucket Cloud.
  2. Mac OS X: Navigate to Keychain Access and clear stored credentials related to Bitbucket Cloud

Once you clear the credential cache, you should probably be asked to provide new credentials on the subsequent push/pull to your repository, and when prompted for credentials you can then provide the AppPassword you have already created.

Hope that helps. Let me know if you run into any issues trying the suggestion above.

Thank you @G973 .

Kind regards,

Patrik S

G973
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 16, 2022

Hello Patrik,

Thank you, it seems to have solved the problem.

Kind regards

G

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events