Skip to content

GitHub Copilot Sign-In Issues After VS Code Update #242819

Closed

Description

@MHKCoder

Hello VS Code team,

I’m reporting an issue with GitHub Copilot after updating VS Code. It appears that Copilot is refusing to sign in, despite selecting the appropriate authentication method.

When prompted to choose between a GitHub Enterprise (GHE) account and a GitHub account, I selected GitHub, yet I still encountered errors:

When GitHub authentication is disabled:
    An error appears in the Output (Terminal) window:

[error] [Window] [chat setup] signIn: error Timed out waiting for authentication provider to register

When GitHub authentication is enabled:

The same error as above occurs.
Additionally, a pop-up appears stating:

    "Failed to sign in to GHE.com. Would you like to try again? You must be signed in to use Copilot."

    This is confusing because I explicitly selected the GitHub account option, yet it references GHE instead.

It would be greatly appreciated if the team could investigate and resolve this issue. If you have any further questions or need additional information, please feel free to ask.

Thank you!

Activity

  1. TylerLeonhardt commented on Mar 7, 2025

    @TylerLeonhardt
    Member

    What version of VS Code are you on?

    And can you send a screenshot of where you see the two options?

  2. MHKCoder commented on Mar 7, 2025

    @MHKCoder
    Author

    Thank you for the follow up Tyler, The VS Code version I'm on right now is version 1.98.0, I will provide a screen shot down below of where I see the 2 options.

    Image

  3. TylerLeonhardt commented on Mar 7, 2025

    @TylerLeonhardt
    Member

    So you're saying that even when you pick "Sign in with a GitHub account" it tries to sign you in to GHE?

  4. MHKCoder commented on Mar 7, 2025

    @MHKCoder
    Author

    Yes Precisely. As well as giving those errors i mentioned in my first post in this issue. Thank you.

  5. TylerLeonhardt commented on Mar 7, 2025

    @TylerLeonhardt
    Member

    can you share what you have in your user settings? The Open User settings (JSON) command in the command palette is the best way to get those those in an easy copy/paste way.

  6. MHKCoder commented on Mar 7, 2025

    @MHKCoder
    Author

    Sure, Please see below:

    
    {
      "[python]": {
        "editor.formatOnType": true
      },
      "git.ignoreMissingGitWarning": true,
      "emmet.includeLanguages": {
        "javascript": "javascriptreact"
      },
      "files.associations": {
        "react": "powershell"
      },
      "editor.unicodeHighlight.invisibleCharacters": false,
      "editor.unicodeHighlight.ambiguousCharacters": false,
      "[dart]": {
        "editor.formatOnSave": true,
        "editor.formatOnType": true,
        "editor.rulers": [80],
        "editor.selectionHighlight": false,
        "editor.suggest.snippetsPreventQuickSuggestions": false,
        "editor.suggestSelection": "first",
        "editor.tabCompletion": "onlySnippets",
        "editor.wordBasedSuggestions": "off"
      },
      "workbench.editorAssociations": {
        "*.exe": "default"
      },
      "files.autoSave": "afterDelay",
      "kotlin.languageServer.debugAttach.autoSuspend": true,
      "kotlin.externalSources.autoConvertToKotlin": true,
      "kotlin.languageServer.debugAttach.enabled": true,
      "code-runner.runInTerminal": true,
      "workbench.statusBar.visible": true,
      "json.schemas": [],
      "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
      },
      "editor.formatOnSave": true,
      "workbench.sideBar.location": "right",
      "editor.mouseWheelZoom": true,
      "svelte.enable-ts-plugin": true,
      "cmake.showOptionsMovedNotification": false,
      "workbench.startupEditor": "none",
      "editor.defaultFormatter": "esbenp.prettier-vscode",
      "terminal.integrated.experimentalInlineChat": true,
      "editor.cursorSmoothCaretAnimation": "on",
      "editor.cursorBlinking": "phase",
      "tabnine.experimentalAutoImports": true,
      "git.autofetch": true,
      "git.enableSmartCommit": true,
      "git.confirmSync": false,
      "workbench.colorTheme": "Vesper",
      "github.copilot.editor.enableAutoCompletions": true,
      "redhat.telemetry.enabled": false,
      "[rust]": {
        "editor.defaultFormatter": "rust-lang.rust-analyzer"
      },
      "debug.allowBreakpointsEverywhere": true,
      "gopls": {
        "ui.semanticTokens": true
      },
      "[go]": {
        "editor.defaultFormatter": "golang.go"
      },
      "go.toolsManagement.autoUpdate": true,
      "material-icon-theme.activeIconPack": "react_redux",
      "material-icon-theme.languages.associations": {},
      "explorer.fileNesting.patterns": {
        "Cargo.toml": "Cargo.lock",
        "*.sqlite": "${capture}.${extname}-*",
        "*.db": "${capture}.${extname}-*",
        "*.sqlite3": "${capture}.${extname}-*",
        "*.db3": "${capture}.${extname}-*",
        "*.sdb": "${capture}.${extname}-*",
        "*.s3db": "${capture}.${extname}-*"
      },
      "editor.inlineSuggest.suppressSuggestions": true,
      "[cpp]": {
        "editor.defaultFormatter": "ms-vscode.cpptools"
      },
      "editor.fontFamily": "Fira Code, Consolas, Courier New, monospace",
      "editor.lineHeight": 22,
      "editor.fontSize": 15,
      "editor.fontLigatures": true,
      "diffEditor.ignoreTrimWhitespace": false,
      "powermode.enabled": true,
      "powermode.presets": "exploding-rift",
      "gitlens.rebaseEditor.ordering": "asc",
      "security.workspace.trust.untrustedFiles": "open",
      "gitlens.advanced.messages": {
        "suppressIntegrationRequestTimedOutWarning": true
      },
      "workbench.iconTheme": "symbols",
      "breadcrumbs.enabled": false,
      "workbench.activityBar.location": "top",
      "workbench.colorCustomizations": {
        "activityBar.activeBackground": "#292929",
        "activityBar.background": "#292929",
        "activityBar.foreground": "#e7e7e7",
        "activityBar.inactiveForeground": "#e7e7e799",
        "activityBarBadge.background": "#606020",
        "activityBarBadge.foreground": "#e7e7e7",
        "commandCenter.border": "#e7e7e799",
        "sash.hoverBorder": "#292929",
        "statusBar.background": "#101010",
        "statusBar.foreground": "#e7e7e7",
        "statusBarItem.hoverBackground": "#292929",
        "statusBarItem.remoteBackground": "#101010",
        "statusBarItem.remoteForeground": "#e7e7e7",
        "titleBar.activeBackground": "#101010",
        "titleBar.activeForeground": "#e7e7e7",
        "titleBar.inactiveBackground": "#10101099",
        "titleBar.inactiveForeground": "#e7e7e799"
      },
      "github.copilot.advanced": {
        "authProvider": "github-enterprise"
      }
    }
    
  7. TylerLeonhardt commented on Mar 7, 2025

    @TylerLeonhardt
    Member

    Benjamin Pasero (@bpasero) I think maybe the logic around deleting the:

      "github.copilot.advanced": {
        "authProvider": "github-enterprise"
      }
    

    is not complete. It might delete github.copilot.advanced.authProvider but not this other form. Can you have that command delete this other form too?

    mhkdev (@MHKCoder) if you delete:

      "github.copilot.advanced": {
        "authProvider": "github-enterprise"
      }
    

    then it should start asking for GitHub auth over GHE again.

  8. MHKCoder commented on Mar 7, 2025

    @MHKCoder
    Author

    Thank you TylerLeonhardt - I appreciate all the help.

  9. TylerLeonhardt commented on Mar 7, 2025

    @TylerLeonhardt
    Member

    Let's keep this open for Benjamin Pasero (@bpasero) to evaluate the clearing of that setting

  10. 4 remaining items

  11. added a commit that references this issue on Mar 8, 2025
    2e71c9a
  12. added a commit that references this issue on Mar 9, 2025
    3180cbe
  13. travelmail26 commented on Mar 9, 2025

    @travelmail26

    I'm also getting this error. Any resolution?

  14. gjsjohnmurray commented on Mar 10, 2025

    @gjsjohnmurray
    Contributor

    Gregory Ferenstein (@travelmail26) do you have this in your settings.json file?

      "github.copilot.advanced": {
        "authProvider": "github-enterprise"
      }
    

    If so, please delete that.

  15. added
    insiders-releasedPatch has been released in VS Code Insiders
    and removed
    unreleasedPatch has not yet been released in VS Code Insiders
    on Mar 10, 2025
  16. vs-code-engineering commented on Mar 10, 2025

    @vs-code-engineering
    Contributor

    This bug has been fixed in the latest release of VS Code Insiders!

    mhkdev (@MHKCoder), you can help us out by commenting /verified if things are now working as expected.

    If things still don't seem right, please ensure you're on version 8ebc9a6 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.

    Happy Coding!

  17. MHKCoder commented on Mar 10, 2025

    @MHKCoder
    Author

    /verified

  18. locked and limited conversation to collaborators on Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededworkbench-copilot

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions