Unable to restart extension, stuck on "Could not authenticate to landscape"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 23
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 17
Description
Hello all,
This morning I opened the BAS desktop client and attempted to login to my company's SAP landscape. Upon logging in, the "login successful" page opened on my browser and yet the landscape still reports "Could not authenticate to landscape." If I keep the window open, I get the following notification every few seconds or so:
Failed to get dev spaces, AxiosError: Request failed with status code 403
My first instinct was to restart the extension. I figured if I could log out of everything, I could try again. I tried restarting vscode, uninstalling and reinstalling the extension, and doing the same for vscode itself. In each case, I remained "logged in" to the landscape in the extension, and nothing had changed.
At the very least, uninstalling the extension, and vscode for that matter, should have cleared every registered landscape. As in, the extension shouldn't at that point have any registered landscapes, correct?
I'm confident that if I could successfully force quit/refresh/uninstall the extension, I could at least make progress. Any suggestions?
Thank you in advance.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failed SAP landscape login in the BAS desktop client and inspect how the VSCode extension retains registered landscapes after restart or uninstall. Use the reported 403 while fetching dev spaces as the failure signal; done means authentication can be refreshed or cleared and the landscape no longer remains stuck.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- authentication, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100