You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS : Debian GNU/Linux 11 (bullseye) Node.js version : v18.15.0 suitecloud-cli version : 1.7.0 Terminal/CMD tool : bash
Describe the bug
I am attempting to run the SuiteCloud vscode extension in a devcontainer. The extension installs fine and I am able to create an account customization project. However, when attempting to setup the account for the project using browser based authentication I get the following error: Web browsing is not supported on this system.
The error occurs both from the vscode command palette and by using the command suitecloud account:setup
To Reproduce
Steps to reproduce the behavior:
Create a devcontainer using the following configuration in the .devcontainer/devcontainer.json file:
Another alternative used by Microsoft and Salesforce toolchains is to fallback to showing the url or adding the option to display the url so the developer can cut and paste it when they are running in a container.
Additional context
Not being able to use a devcontainer is a real hinderance to the development cycle and onboarding new developers. Thanks in advance
The text was updated successfully, but these errors were encountered:
Came here to complain about this same problem. We use devcontainers with aws projects which need to open a browser to authenticate with sso just fine. And AWS also has a fallback which prints a url and code to copy/paste into a browser manually.
Hello @dbaghdanov, we have provided two different commands for setting up an account. One is account:setup which is used for environments that can open a browser. The other one is account:savetoken and is used for environments that cannot open a browser such as a container.
That said we will look into the fallback method used by AWS and others. Thanks for letting us know!
Your environment
OS : Debian GNU/Linux 11 (bullseye)
Node.js version : v18.15.0
suitecloud-cli version : 1.7.0
Terminal/CMD tool : bash
Describe the bug
I am attempting to run the SuiteCloud vscode extension in a devcontainer. The extension installs fine and I am able to create an account customization project. However, when attempting to setup the account for the project using browser based authentication I get the following error:
Web browsing is not supported on this system.
The error occurs both from the vscode command palette and by using the command
suitecloud account:setup
To Reproduce
Steps to reproduce the behavior:
.devcontainer/devcontainer.json
file:suitecloud account:setup
Browser-based authentication.
Web browsing is not supported on this system.
Attempts to fix
We attempted to fix this by enabling the desktop-lite feature as detailed at https://github.com/devcontainers/features/tree/main/src/desktop-lite#example-usage
Also looks like the use of something like
xdg-utils
in the cli could fix this issue as detailed at microsoft/vscode-remote-release#3540 (comment)Another alternative used by Microsoft and Salesforce toolchains is to fallback to showing the url or adding the option to display the url so the developer can cut and paste it when they are running in a container.
Additional context
Not being able to use a devcontainer is a real hinderance to the development cycle and onboarding new developers. Thanks in advance
The text was updated successfully, but these errors were encountered: