Skip to content

Cannot Enable GitHub authentication Extention #329426

Open

Agent suggestions

Public preview

Description

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.132.0
  • OS Version: Windows_NT x64 10.0.26200

Steps to Reproduce:

  1. Make sure account sync i turned on in VS code
  2. Make a time machine
  3. Go back 2 years
  4. Disable GitHub Authentication (vscode.github-authentication)
  5. Go to the present
  6. Try to enable GitHub Authentication (vscode.github-authentication)

Problem:
I cannot enable GitHub Authentication (vscode.github-authentication) in VS Code.
The enable button is gone and when i right-click the extention the enable is greyed out
Image

If i disable sync and make a reset of my setting i am able to use GitHub Authentication but as soon as i enable the sync the extention goes back to be disabled.

I have narrowed it down to have happened 2 years ago in the synced extentions.json file
Image

I am not able to revert the changes from 2 years ago
And I cannot find any to enable the GitHub Authentication (vscode.github-authentication)

Activity

  1. JonasJes commented on Aug 7, 2026

    @JonasJes
    Author

    I found a workaround by inventing the time machine:

    1. Install an old version of VS Code (I used this https://code.visualstudio.com/updates/v1_86)
    2. Enabled sync in the installed version
    3. Found the GitHub Authentication in Extensions
    4. Right-clicked and was able to enable
    5. Ran the Setting Sync: Sync Now command to make sure the enabled state is synced to the account
    6. Closed VS Code and updated it to the newest
    7. Made sure the sync was updated, and now I was able to log in.

    So the problem is that if GitHub Authentication is disabled in the synced settings, you are not able to enable it in the current VS Code

  2. added
    bug
    on Sep 21, 2026
  3. kamaranl commented on Nov 6, 2026

    @kamaranl

    Just ran into this issue myself and took a different approach to a workaround:

    ⚠️ Disclaimer

    Proceed with caution. If done incorrectly, without having a backup of the state db, you could cause other problems with VS code's functionality.

    Pre-requisites

    Steps

    1. End all VS Code tasks/instances.
    2. Navigate to the .../Code/User/globalStorage/ directory; .../Code/User/ is typically where your settings.json file is stored.
    3. Make a copy of state.vscdb.
    4. Launch DB Browser for SQL Lite and open state.vscdb.
    5. Switch to the Browse Data tab.
    6. Filter the keys for extensionsIdentifiers/disabled and select the value cell for that key.
    7. In the Edit Database Cell pane on the right, select the icon for Auto format: pretty print on loading, compact on saving to make the entries easier to read.
    8. Find and remove the entry:
    {
        "id": "vscode.github-authentication"
    }
    1. Select Apply at the bottom right of that pane.
    2. Select Write Changes near the top of the window, followed by Close Database.
    3. Close DB Browser for SQL Lite.
    4. Launch VS Code.
    5. Search for @builtin github; you should now see Github Authentication enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugsettings-sync

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions