Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a BROWSER from the environment for interactive login to support VSCode Remote-SSH development #1714

Open
spockz opened this issue Sep 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@spockz
Copy link

spockz commented Sep 30, 2024

Feature description

We are using Visual Studio code on VMs to do our cloud development. Recently we switched from using SSH auth to using OAuth and GCM. This works fine on our local workstations as they have a browser. It doesn't work on gcm because it requires an active Desktop Session (e.g. CanUseEmbeddedWebView|CanUseSystemWebView). az login is able to login using the clients browser because it utilises the script managed by VSCode (and listed in the BROWSER env var) to open a browser and interact with it.

GCM could support a similar mechanism, potentially only on Linux(?), to reach out to Azure.

@spockz spockz added the enhancement New feature or request label Sep 30, 2024
@dscho
Copy link
Collaborator

dscho commented Oct 18, 2024

@spockz you seem to be already half-way through to open a PR, a PR I expect to be accepted very quickly. How about it? Give it a try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants