You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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)
Navigate to the .../Code/User/globalStorage/ directory; .../Code/User/ is typically where your settings.json file is stored.
Make a copy of state.vscdb.
Launch DB Browser for SQL Lite and open state.vscdb.
Switch to the Browse Data tab.
Filter the keys for extensionsIdentifiers/disabled and select the value cell for that key.
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.
Find and remove the entry:
{
"id": "vscode.github-authentication"
}
Select Apply at the bottom right of that pane.
Select Write Changes near the top of the window, followed by Close Database.
Close DB Browser for SQL Lite.
Launch VS Code.
Search for @builtin github; you should now see Github Authentication enabled.
Activity
JonasJes commentedon Aug 7, 2026
I found a workaround by inventing the time machine:
GitHub Authenticationin ExtensionsSetting Sync: Sync Nowcommand to make sure the enabled state is synced to the accountSo the problem is that if
GitHub Authenticationis disabled in the synced settings, you are not able to enable it in the current VS Codekamaranl commentedon Nov 6, 2026
Just ran into this issue myself and took a different approach to a workaround:
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
.../Code/User/globalStorage/directory;.../Code/User/is typically where yoursettings.jsonfile is stored.state.vscdb.state.vscdb.Browse Datatab.extensionsIdentifiers/disabledand select the value cell for that key.Edit Database Cellpane on the right, select the icon forAuto format: pretty print on loading, compact on savingto make the entries easier to read.{ "id": "vscode.github-authentication" }Applyat the bottom right of that pane.Write Changesnear the top of the window, followed byClose Database.@builtin github; you should now see Github Authentication enabled.