Although I am able to with gitLab.com:
-
#!/usr/bin/env sh glab auth login -
- Signing into gitlab.com - glab config set -h gitlab.com git_protocol https ✓ Configured Git protocol. - glab config set -h gitlab.com api_protocol https ✓ Configured API protocol. ✓ Logged in as RokeJulianLockhart ✓ Configuration saved to /home/beedell.roke_julian_lockhart/.config/glab-cli/config.yml - Host: gitlab.com
…I am unable to at gitLab.GNOME.org:
-
┃ Found GitLab instances in git remotes. Select one: ┃ > gitlab.gnome.org (origin) ┃ Enter a different hostname -
- Signing into gitlab.gnome.org ┃ How would you like to sign in? ┃ Token ┃ > Web -
- Signing into gitlab.gnome.org ┃ What domains does this host use for the container registry and image dependency proxy? ┃ > gitlab.gnome.org,gitlab.gnome.org:443,registry.gitlab.gnome.org -
- Signing into gitlab.gnome.org ERROR Set 'client_id' first with `glab config set client_id <client_id> -g --host gitlab.gnome.org`.
However, (HTTPS) token authentication succeeds:
- Signing into gitlab.gnome.org The minimum required scopes are 'api' and 'write_repository'. Generate a personal access token at https://gitlab.gnome.org/-/user_settings/personal_access_tokens?scopes=api,write_repository - glab config set -h gitlab.gnome.org git_protocol https ✓ Configured Git protocol. - glab config set -h gitlab.gnome.org api_protocol https ✓ Configured API protocol. ✓ Logged in as RokeJulianLockhart ✓ Configuration saved to /home/beedell.roke_julian_lockhart/.config/glab-cli/config.yml - Host: gitlab.gnome.org
My Environment
The server is GitLab Community Edition, v18.11.5, whereas my client is:
-
#!/usr/bin/env pwsh rpm -qf (Get-Command glab).Source --queryformat @' Name: %{NAME} Version: %{VERSION} Release: %{RELEASE} Architecture: %{ARCH} Install Date: %{INSTALLTIME:date} Size: %{SIZE} Signature: %{SIGPGP:pgpsig} Source RPM: %{SOURCERPM} Build Date: %{BUILDTIME:date} Build Host: %{BUILDHOST} Packager: %{PACKAGER} Vendor: %{VENDOR} '@ | yq -P -
Name: glab Version: 1.91.0 Release: 1.fc44 Architecture: x86_64 Install Date: Sat 13 Jun 2026 15:52:58 BST Size: 50518202 Signature: (none) Source RPM: glab-1.91.0-1.fc44.src.rpm Build Date: Sat 04 Apr 2026 22:31:56 BST Build Host: buildvm-x86-18.rdu3.fedoraproject.org Packager: Fedora Project Vendor: Fedora Project