-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Don't allow multi-accounts for GitHub auth while it only supports 1 account #203850
Comments
Sounds like a duplicate of #127967 |
Yeah we only really support a single GitHub account. The fact that you can log in to multiple GitHub accounts is a bug. I'm not really inclined to fix that bug as I would rather spend cycles supporting multi-account in GitHub... |
I was truly satisfied with having just one account for all repositories, but with the introduction of Copilot, our company requires having a special account for Copilot, which I cannot avoid, hence the second account. It's not a problem to switch accounts, but the issue is having a paid service that stops functioning when I connect to GitHub differently. I want the paid service to work without limitations. Why am I paying for it? Or is it necessary to move all projects elsewhere so that the Copilot service isn't intertwined with repository management services? |
Agrees with @AntonSedlak. I have copilot access on my personal Github account and repo access with my Org Github account. If I install Github PR and issues extension and authenticate it with my org account, it makes copliot useless. For a while in past everything was working seamlessly with copilot extensions authenticated with my personal account and Github Pull Request and Issues with my org account. Now it's all intertwined making paid feature useless. |
I'm having the same issue as @neeraj-ec above. Copilot sub is on my personal GitHub account because I do contract work for an org who doesn't enable that by default. So I am logged in to two GitHub accounts. And I need to be. It was all working until this week. Now I've lost access to Copilot in my IDE. 🥺 This is a valid use case. |
I frequently have to jettison one of my two signed-in accounts to get Copilot to start working again. This workaround, while functional, is unsustainable due to having to choose between using Github Copilot or the ability to commit/push. |
The best approach is to let the Copilot use its authentication protocol, and for the repository, use SSH, after you setup ssh login, change local repository with |
This doesn't solve a problem, only puts a bandaid on a bigger issue. We have valid use cases to authenticate into extensions with different GitHub accounts. This needs to be supported. |
I want to set some expectation that multi-account for GitHub isn't supported today... and the workarounds folks have suggested have left users in confusing places and this has to be dealt with, which is what this issue tracks. Making it clear that we only support 1 account, at this time. We do want to support multi-account and it's something we'd like to make progress on in the near future. It's not as simple as it sounds... check this comment of mine when I investigated the work involved: Until we can iron out the details and do this work in such a way that it makes sense, I want VS Code to be clear in what it supports. The workaround I can recommend is installing VS Code & VS Code Insiders side-by-side and log in to two separate GitHub accounts there. Additionally, you could even use Settings Sync (with a common Microsoft account) so that your settings are synced between the two of them so it's easy to switch off. |
Does this issue occur when all extensions are disabled?: nonsence?
Accounts are managed by vscode? You need to decide where extensions get the information about which account to log in with.
However, by running without extensions, I understandably cannot verify the login.
VS Code Version: Version: 1.86.0-insider
Commit: 5d34400
Date: 2024-01-26T23:09:36.502Z
Electron: 27.2.3
ElectronBuildId: 26495564
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Linux x64 5.19.0-1010-nvidia-lowlatency
Steps to Reproduce:
Account BBB was used before also for Copilot.
Now I have separate accounts, AAA paid for Copilot and the other BBB for repositories, but it's still not functional after restart.
I need Copilot so that I can manage the repository.
And why is Copilot attempting to use the BBB account for logging in when it doesn't even have the permissions for that by Manage Trusted Extension?
The text was updated successfully, but these errors were encountered: