atlassian / atlassian/atlascode
Authentication needed every time a new folder is opened. this message appears "There was an error connecting to Bitbucket Cloud. Please log in again."
- Dominant language
- TypeScript
- Stars
- 130
- Forks
- 82
- Avg merge
- 3h 3m
- Merged PRs (30d)
- 6
Description
**Describe the bug**
This error message appears constantly in VS Code: "There was an error connecting to Bitbucket Cloud. Please log in again."
**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'VS Code and open any folder.'
2. Connect to Atlassian using LOGIN WITH OAUTH
3. Open a different folder.
4. See error: "There was an error connecting to Bitbucket Cloud. Please log in again."
**Expected behavior**
No error message should appear when switching to a new folder. No error message should appear after the first-time logging in.
**Screenshots**
**Environment and Version (please complete the following information):**
- Atlassian Plugin Version (4.0.28)
- Visual Studio Code Version (1.116.0)
- Is this a local or cloud environment? Local
- Local, OS is Windows
**Additional context**
Add any other context about the problem here.
Contributor guide
Research direction
Start by reproducing the OAuth login flow in VS Code: log in with Atlassian, open a folder, then switch to another folder. Trace the authentication and workspace-change handling to find why the session is not reused; done means switching folders no longer shows the Bitbucket Cloud login error after the initial login.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- authentication, developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100