Skip to content

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

@stephansann

Description

@stephansann

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
[email protected]
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    auth-issueAn issue authenticating to a host

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions