-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Test: Multiple GitHub Account support & new auth account preference #229420
Comments
I have been fiddling with the authentication experience on VS Code. Initially I was not sure how to sign in to two GitHub accounts simultaneously. I think it could be helpful if the account menu in the bottom left offered to sign in to a second GitHub account. I managed to wire a second account by turning on cloud changes and selecting a new account with |
I feel like I got myself into a bad state after setting up for this TPI and some the UX bugs created might just be due to that. Similar to Aiday, I had some trouble figuring out how to add a second account option for the extensions. |
Refs: #127967 #225943
Complexity: 4
Create Issue
Description
In Insiders, we have enabled Multiple GitHub Account support. This means you can be logged in to 2+ accounts at the same time and use them for different things.
I really just want you to smoke test logging in to multiple things and seeing if it all makes sense.
Step 0: Get an alt GitHub account
There's really only one way to do this... you gotta get/make another GitHub account. It's kinda annoying, but it could be useful later!
I guess you could also try to get the EMU account working... the one that's like
YourMicrosoftAlias_microsoft
(so liketyleonha_microsoft
). That'd be a good test if you can figure out how to use it.Step 1: Grab some extensions
So first, let me list some extensions that use GitHub:
Step 2: Change the preference
Also, to light this up, we have also added an ability to change the account preference for an extension. So for example, if Copilot Chat was originally given AccountA, a user can go in and change the preference to AccountB, and Copilot Chat will get an event for this change.
Now just a quick overview of where you could switch accounts... either:
This should bring you to a Quick Pick that lets you set a default account (you may not have one initially, but after setting it, re-open the quick pick and it should say it's default)
It's possible that not every extension plays nice with this new behavior... not all of them implement the Authentication event properly... so if you feel like an extension isn't handling it properly, I'd love it if you could open an issue on the extension... but if you don't want to, open an issue here and I'll get to it.
Bonus
GitHub Copilot Chat and GitHub Copilot's preference has been locked... so when you update one, the other updates. Test that! It'll test better if you switch between an account that has a Copilot Sub and one that doesn't...
The text was updated successfully, but these errors were encountered: