-
Notifications
You must be signed in to change notification settings - Fork 549
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
github pr extension is unable to sign in, while other extensions are fine #5785
Comments
I have a similar issue (and wanted to create an issue when i've seen this one 😅 ) where my enterprise-managed account (where the Copilot-license is handled) conflict with the PullRequest extension and my personal account which i'm using for normal operations. My current findings so far:
My current solution: |
same. extension just continuously prompts for login, and once I log in, there's another prompt. seems login prompts are stacking and an infinite loop is going on. |
Version: 1.87.1 Same isse wth Github PR v0.82.0 Reproduced issue exactly as stated above by @syffs |
Spending 2 seconds reading the documentation fixed this for me. In my case I named the remote 'github' instead of 'origin' or 'upstream'. Just added that and it works fine. Would add that having the Sign In fail makes sense BUT it isn't obvious what the issue is. Could add a note under that "Sign In" dialog to validate that the remote name matches, just for my fellow midwits who don't read the docs. |
This extension does not require a copilot scope. You can see all the scopes we ask for here: vscode-pull-request-github/src/github/credentials.ts Lines 30 to 32 in ea0930d
@bavarianbidi, the problem that you encountered is that the GitHub Authentication extension doesn't support signing in with more than one GitHub account, though it did let you get into that state. If you sign out of one of the accounts you should be OK. @TylerLeonhardt FYI.
@syffs, can you please reproduce the issue then share the output from GitHub Pull Requests and GitHub Authentication?
@Am0rfu5, you shouldn't see the "Sign In" button, but instead you should see a prompt to configure your remotes when you're signed in but we don't recognize any of your remotes: |
Multiple GitHub account in VS Code is tracked here: microsoft/vscode#127967 |
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: