Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIT credential manager does not seem to jump into action when trying to clone a repository #1780

Open
stephansann opened this issue Dec 5, 2024 · 0 comments
Labels
auth-issue An issue authenticating to a host

Comments

@stephansann
Copy link

Version

2.6.0+3c28096588f549cb46f36b552390514356830abe

Operating system

macOS

OS version or distribution

15.1.1 (24B91)

Git hosting provider(s)

GitHub Enterprise Server

Other hosting provider

No response

(Azure DevOps only) What format is your remote URL?

None

Can you access the remote repository directly in the browser?

Yes, I can access the repository

Expected behavior

The Credential Helper should open a login dialog.

Actual behavior

No login dialog is presented. The clone operation fails:

stephan@myMacBookProM2 ShellScripts % git config --global -l                                                                                                
user.name=Stephan Sann
user.email=stephan@sann.name
core.excludesfile=/Users/stephan/.gitignore_global
difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE"
difftool.sourcetree.path=
mergetool.sourcetree.cmd=/Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED"
mergetool.sourcetree.trustexitcode=true
commit.template=/Users/stephan/.stCommitMsg
safe.barerepository=explicit
credential.https://dev.azure.com.usehttppath=true
credential.helper=/usr/local/share/gcm-core/git-credential-manager

stephan@myMacBookProM2 ShellScripts % git clone https://github.adgr.net/IT-Security/PAM.git /Users/stephan/Storage/@SITS/Developer/VRepo/PAM --progress 
Cloning into '/Users/stephan/Storage/@SITS/Developer/VRepo/PAM'...
fatal: unable to update url base from redirection:
  asked for: https://github.adgr.net/IT-Security/PAM.git/info/refs?service=git-upload-pack
   redirect: https://login.microsoftonline.com/98233a1c-af5a-4699-a2c7-9b082989c5a0/saml2?SAMLRequest=jZLdauMw[...]
stephan@myMacBookProM2 ShellScripts %

Logs

No response

@stephansann stephansann added the auth-issue An issue authenticating to a host label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth-issue An issue authenticating to a host
Projects
None yet
Development

No branches or pull requests

1 participant