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
406 stars 240 forks source link

Device Flow Auth is making me unable to pull/push from a repo #95

Open kristoferreierson opened 6 years ago

kristoferreierson commented 6 years ago

On my high Sierra (10.13.16) machine, I am unable to access any of my git repo's.

When I try to pull, I see:

"GIT_TRACE=1 git pull origin develop 16:45:45.284930 git.c:415 trace: built-in: git pull origin develop 16:45:45.290258 run-command.c:637 trace: run_command: git fetch --update-head-ok origin develop 16:45:45.294240 git.c:415 trace: built-in: git fetch --update-head-ok origin develop 16:45:45.295122 run-command.c:637 trace: run_command: GIT_DIR=.git git-remote-https origin 'https://office.visualstudio.com/DefaultCollection/Outlook%20Mobile/_git/client-cocoa' 16:45:45.496354 run-command.c:637 trace: run_command: 'git credential-osxkeychain get' 16:45:45.504206 git.c:659 trace: exec: git-credential-osxkeychain get 16:45:45.504767 run-command.c:637 trace: run_command: git-credential-osxkeychain get 16:45:45.532987 run-command.c:637 trace: run_command: '/Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home/bin/java -Ddebug=false -Djava.net.useSystemProxies=true -jar /usr/local/Cellar/git-credential-manager/2.0.4/libexec/git-credential-manager-2.0.4.jar get'

OAuth 2.0 Device Flow authentication

To complete the authentication process, please open a web browser and visit the following URI: https://microsoft.com/devicelogin When prompted, enter the following code: XXXXXXXX Once authenticated and authorized, execution will continue."

This is happening on all repo's on this device using any git command that needs to auth. Let me know what sort of information you need.

kristoferreierson commented 6 years ago

Looking at credential.log I see:

Unmet requirements for the 'JavaFx' provider:

Unmet requirements for the 'StandardWidgetToolkit' provider:

I tried brew cask uninstall|install java but it doesn't make a difference.

jrbriggs commented 5 years ago

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