Bitbucket login keeps popping up in Visual Studio Code

GS
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 27, 2021

Dear Team, 

I am facing multiple popups of login into bitbucket. I face almost 6-7 popups every time I use VS code and this is getting very annoying. Despite trying various methods. I have failed in getting rid of these popups.

Methods tried:

  1. Reset user setting in Visual Studio Code
  2. Uninstalled Bitbucket extensions and alias 
  3. Upgrade the Studio
  4. Login with my username and password. 

Versions:

Studio: 1.17.1
node: 16.13.0
npm: 8.1.0
CLI: 13.0.3

Please provide a solution to this problem.

2 answers

0 votes
Tim Hitchins March 21, 2024

This didn't work for me - I was still being prompted.

Setting

git.terminalAuthentication = false

in the VS Code settings stopped it.

0 votes
wstevensiqventures
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!
January 25, 2022

I was having the same issue and fixed it with changes in my .gitconfig file.  Quoting the solution I used below along with a link to the original thread.

Two of the ways you can set these values:

  • Edit your.gitconfigfile directly. On Windows it should be located at%userprofile%\.gitconfig
  • Use git at the command prompt:
    • `git config --global --replace-all credential.interactive false`
    • `git config --global --replace-all credential.modalPrompt false`

-mikeairey

 

https://community.atlassian.com/t5/Sourcetree-questions/Keeps-prompting-for-bitbucket-login/qaq-p/603161

 

stcpune
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!
July 3, 2023

These values can be added to .gitconfig file to overcome prompt:

[credential]
interactive = false
modalPrompt = false

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events