microsoft / Git-Credential-Manager-for-Mac-and-Linux

Git Credential Manager for Mac and Linux stores credentials for Git version control securely. Provides secure logon for Visual Studio Team Services (visualstudio.com).
Other
405 stars 238 forks source link

fatal: Authentication failed #104

Closed AskYous closed 5 years ago

AskYous commented 5 years ago

I installed git-credential-manager on my mac. I then try to make it work with my repository hosted on Azure Devops: https://dev.azure.com/yousefshanawany..., but it never pops up a UI or anything and instead prompts me for a password in the terminal.

Is that supposed to happen? Isn't there supposed to be a popup?

I then proceed to give it my Azure Devops password, but it fails and says it's wrong. I even used the "Generate git credentials" feature in Azure Devops but it still gives the same output. I'm stuck.

image

nick-wegner commented 5 years ago

I installed git-credential-manager on my mac. I then try to make it work with my repository hosted on Azure Devops: https://dev.azure.com/yousefshanawany..., but it never pops up a UI or anything and instead prompts me for a password in the terminal.

Is that supposed to happen? Isn't there supposed to be a popup?

I then proceed to give it my Azure Devops password, but it fails and says it's wrong. I even used the "Generate git credentials" feature in Azure Devops but it still gives the same output. I'm stuck.

image

Did you figure anything out with this? We are having the same problem.

AskYous commented 5 years ago

@nick-wegner Check out what we concluded on stackoverflow here. We found an uncomfortable complicated way around it and it worked. I can't really explain it.

itlackey commented 5 years ago

The stackoverflow post did not help. Anyone else have any luck fixing this?

AskYous commented 5 years ago

@itlackey can you share a screenshot of you attempting to clone the repository?

itlackey commented 5 years ago

I will if you need me to but it looks exactly like the one above. git pull [ask for password] fatal: Authentication failed for xyz

AskYous commented 5 years ago

@itlackey Did you enter in the right repository url with your login username in it?

chaluvadis commented 5 years ago

Any update on this issues, I am not able to setup azure repos in my machine. Screen Shot 2019-03-25 at 9 48 03 PM

AskYous commented 5 years ago

@chaluvadis use a personal access token as the password. Makes it very easy! 👍

chaluvadis commented 5 years ago

@AskYous Thanks, it worked.

jrbriggs commented 5 years ago

I'd recommend trying GCM Core's macOS preview release