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

Unable to save to gist when using user-data instance of vscode #172340

Closed
karthiknadig opened this issue Jan 25, 2023 · 2 comments
Closed

Unable to save to gist when using user-data instance of vscode #172340

karthiknadig opened this issue Jan 25, 2023 · 2 comments
Assignees

Comments

@karthiknadig
Copy link
Member

Testing #172051

This is unrelated to profiles but a general issue with logging into Github.

  1. Start VSCode log out of github.
  2. Instance1: start an instance of vscode with default user-data: code . , leave this running.
  3. Instance2: start another instance of vscode with user-data set: code --user-data-dir=userdata1 --extensions-dir=extensions1 .
  4. Do any action that requires github login. In my case it was export profile to gist.
  5. You get a prompt to login using web. follow the prompt. after logging in, you get a prompt on the browser to open vscode.
  6. The link does not open in the right instance of vscode. The Instance 2 fails logon.
@TylerLeonhardt
Copy link
Member

Just to be clear, you're saying when the browser redirect back to VS Code, it does not redirect to the right one?

This is almost certainly because you're using --user-data-dir which is more of a debugging tool than anything else. I would guess that if you didn't have that, this would work as expected.

In any case, I'll pass this over to @joaomoreno who owns UriHandlers

@joaomoreno
Copy link
Member

Yeah this scenario isn't supported.

@joaomoreno joaomoreno closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants