Bitbucket authentication can't be saved correctly

Issue #593 new
lee zhang created an issue

Version info

Version: 1.56.1 (user setup)
Commit: e713fe9b05fc24facbec8f34fb1017133858842b
Date: 2021-05-06T10:08:05.141Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Windows_NT x64 10.0.18363

Jira and Bitbucket (Official)
atlassian.atlascode
Atlassian
v2.8.6

Description

I’m using Bitbucket server.

After I used this feature and changed password, nightmare happens. I enter the new password and it works just fine.

But, after I close VSCode, and reopen it, the password used changes to older one, which result in

It happens every time. I have to input the new password again. And sometime, with too much failure try to login, the server will ban me for loginning. I have to ask admin for help which is depressing.

I tried to find where the old password stores but fail.

The log info in the develop:

workbench.desktop.main.js:sourcemap:735 Credentials refused for https://sc-css-bitbucket
onDidChangeNotification @ workbench.desktop.main.js:sourcemap:735
2workbench.desktop.main.js:sourcemap:735 TypeError: Cannot read property 'cancelToken' of undefined
at s (c:\Users\lzhang165060.vscode\extensions\atlassian.atlascode-2.8.6\build\extension\extension.js:1:1559610)
at e.exports (c:\Users\lzhang165060.vscode\extensions\atlassian.atlascode-2.8.6\build\extension\extension.js:1:1559685)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

Comments (3)

  1. Rob Seaver

    I have the same issue. The Jira connection is fine and the correct login information persists correctly between sessions. For Bitbucket, though, I have to re-authenticate at least once per day. While it’s not the end of the world, it’s definitely an annoyance, and since I’m using WSL, it means I need to open a local VSCode instance separately to re-authenticate.

  2. RICHARD CROSS

    I get the same issue, or sometimes the following similar message: “Error authenticating with Bitbucket: TypeError: Cannot read properties of undefined (reading ‘replace')“… even though I’m pasting the same password I use to log in to the Bitbucket UI from my clipboard.

    Additionally, I’m really not sure why the Bitbucket authentication does not support personal tokens, like the Jira authentication screen?

  3. Michael Thomas

    I get the same issue “Error authenticating with Bitbucket: TypeError: Cannot read properties of undefined (reading ‘replace')“ Not 100% sure what is going on I can login to Jira just fine but not bitbucket.

  4. Log in to comment