MFA Auth failed
CraftoHohenvels opened this issue · comments
Describe the bug
I can't tell what is causing this issue, but I can assume it has something to do with MFA. I have had similar issues in the past with git via the Linux cli and therefore I had to use the browser to log in.
The problem I am facing is that whenever I try to clone a repo from a organization (which requires us to enable MFA) from GitHub the authentication windows opens and ask me to enter my details. As I submit the form the same window opens again with no information about what happened. But if I close the window this is what I see
(certainly hope the image is visible)
To Reproduce
I can really just make an educated guess right here
- Enable MFA on GitHub
- Clone a repo from GH
- et voilà
Expected behavior
I would expect Gitnuro to properly clone the repo or at least to display an error message.
Desktop (please complete the following information):
- OS: Windows 11 22H2 (Build 22621.2715)
- Version 1.3.1
Isn't using your user name and a personal token enough? I'm not really sure why MFA would matter in this case.
With personal token do you refer to my password or something else? As I said on Linux I had to configure git to use the GitHub authentication, which is configured using the web app - which uses MFA
If you want to use the web authentication, you can setup Git Credentials Manager as shown in the README.
I will try it with access tokens and the git credentials manager and then report back
I tried it using a PAT. It works now! Thanks for your help, from my side the ticket is resolved.
I'm glad it works :)
I'd recomment using Git Credentials Manager so you can completly forget about using tokens or other credentials, makes everything much easier.
As you prefer, of course.