If I receive the authentication failed message in Github desktop, what should I do?

21    Asked by ananyaPawar in Cyber Security , Asked on Apr 21, 2022

My github desktop was working correctly. I am able to perform all the operations like Commit, Pull, Push. Today I am trying to push my code, observe below error :


Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open options and verify that you're signed in with an account that has permission to access this repository. My environment : Windows : 10GitHub Desktop : 1.6.1


Answered by Andrea Bailey

Steps to fix the error of Github desktop authentication failed :


Remove repo from GitHub Desktop
Logout from your github account [File > Options]
File > Add Local Repository
Repository > Repository Settings and change to https URL [Important tweek]
It started working back for me.

Your Answer

Interviews

Parent Categories