Git authentication via credential helper fails
Checklist
-
I'm using the latest version of the extension (Run glab --version
)- Extension version: 1.35.0
-
Operating system and version: linux -
Gitlab.com or self-managed instance? both -
GitLab version (if self-managed) GitLab version here (Use the version
endpoint, like this: gitlab.my-company.com/api/v4/version) -
I have performed glab auth status
to check for authentication issues
Summary
Git authentication via credential helper fails.
Environment
- OS: Linux 6.6.1-arch1-1 x86_64
- SHELL: /usr/bin/zsh
- TERM: screen-256color
- GLAB: glab version 1.35.0%
Steps to reproduce
- make sure the
GITLAB_TOKEN
is not set and glab is authenticated - Run
glab auth git-credential get
- paste url=https://gitlab.com/gitlab-org/cli.git
- press enter twice
What is the current bug behavior?
username
is my username instead of oauth2 and because of that the authentication fails.
What is the expected correct behavior?
username
should be oauth2
Edited by Ole Reifschneider