Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"fatal: Authentication failed for" when pushing to GitHub from Visual Studio Code (1.62.2)

A lot of us are currently having the issue where we aren't able to push changes to GitHub anymore and getting a fatal: Authentication failed for error. This has been observed on Linux.

This is because the newest version of Visual Studio Code (1.62.2) introduced this bug.

Is there a fix for this version, or otherwise a workaround?

like image 788
Adrian D. Avatar asked Nov 15 '21 18:11

Adrian D.


People also ask

How do I fix authentication failed on GitHub?

It happens if you change your login or password of git service account (Git). You need to change it in Windows Credentials Manager too. type "Credential Manager" in Windows Search menu open it. Windows Credentials Manager->Windows Credential and under Generic Credentials edit your git password.


1 Answers

It is apparently covered by this issue, to be solved in 1.62.3.

The workaround is to unset Git: Terminal Authentication in the Visual Studio Code settings (menu FilePreferencesSettingsUserExtensionsGitTerminal Authentication).

Enter image description here

like image 99
mrgou Avatar answered Sep 20 '22 20:09

mrgou