Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

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

Open
kristoferreierson opened this issue Oct 12, 2018 · 2 comments
Open

Comments

@kristoferreierson
Copy link

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
Copy link
Author

Looking at credential.log I see:

Unmet requirements for the 'JavaFx' provider:

  • Oracle Java SE 7 update 6 or higher, Oracle Java SE 8, OR OpenJDK 8.
  • JavaFX or OpenJFX runtime JAR.

Unmet requirements for the 'StandardWidgetToolkit' provider:

  • Standard Widget Toolkit Runtime at /Users/kristoferreierson/.swt/swt-x86_64.jar

    token acquisition failed.
    interactive logon failed

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

@jrbriggs
Copy link
Member

jrbriggs commented Jun 21, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants