-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
auth-issueAn issue authenticating to a hostAn issue authenticating to a host
Description
Version
2.3.2
Operating system
macOS
OS version or distribution
Ventura 13.6
Git hosting provider(s)
GitHub
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
When I attempt any git operations, the credentials manager should take care of authentication
Actual behavior
When I attempt any git operations, I am prompted for a password instead which fails subsequently:
$ git push
Password for 'https://sudo-suhas@github.com':
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/matryer/moq.git/'
Logs
WSLENV=$WSLENV:GCM_TRACE:GIT_TRACE GCM_TRACE=1 GIT_TRACE=1 git fetch
21:20:53.637457 git.c:463 trace: built-in: git fetch
21:20:53.639222 run-command.c:659 trace: run_command: GIT_DIR=.git git remote-https origin https://sudo-suhas@github.com/matryer/moq
21:20:53.650214 git.c:749 trace: exec: git-remote-https origin https://sudo-suhas@github.com/matryer/moq
21:20:53.650424 run-command.c:659 trace: run_command: git-remote-https origin https://sudo-suhas@github.com/matryer/moq
21:20:54.360229 run-command.c:659 trace: run_command: git rev-list --objects --stdin --not --exclude-hidden=fetch --all --quiet --alternate-refs
21:20:54.386563 run-command.c:1524 run_processes_parallel: preparing to run up to 1 tasks
21:20:54.386603 run-command.c:1551 run_processes_parallel: done
21:20:54.386611 run-command.c:659 trace: run_command: git maintenance run --auto --no-quiet
21:20:54.402754 git.c:463 trace: built-in: git maintenance run --auto --no-quiet
$ git credential-manager diagnose
Running diagnostics...
[ OK ] Environment
[ OK ] File system
[ OK ] Networking
[ OK ] Git
[ OK ] Credential storage
[ OK ] Microsoft authentication (AAD/MSA)
[ OK ] GitHub API
Diagnostic summary: 7 passed, 0 skipped, 0 failed.
Metadata
Metadata
Assignees
Labels
auth-issueAn issue authenticating to a hostAn issue authenticating to a host