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

GCM not presenting me with browser option when cloning from GitLab remote repository #1736

Open
garysassano opened this issue Oct 11, 2024 · 7 comments
Labels
auth-issue An issue authenticating to a host platform:wsl Specific to Windows Subsystem for Linux

Comments

@garysassano
Copy link

garysassano commented Oct 11, 2024

Version

2.4.10

Operating system

Windows

OS version or distribution

Windows 10 Enterprise LTSC, WSL2 with Ubuntu 24.04

Git hosting provider(s)

GitLab

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 cloning the repository I expect to be provided all the options.

Actual behavior

I can only choose between pat and basic modes, no option for browser mode.

image

Logs

No response

@garysassano garysassano added the auth-issue An issue authenticating to a host label Oct 11, 2024
@mjcheetham
Copy link
Collaborator

Hello! Can I ask if you're using GCM installed in Windows (accessed via WSL), or GCM installed in the Ubuntu distribution?

@mjcheetham
Copy link
Collaborator

Also if you're using GCM as installed inside of the Ubuntu distribution, can you check if any of the following commands are installed (at least one is required to be able to launch your browser):

  • xdg-open
  • gnome-open
  • kfmclient
  • wslview

@mjcheetham mjcheetham added the platform:wsl Specific to Windows Subsystem for Linux label Oct 11, 2024
@garysassano
Copy link
Author

@mjcheetham GCM is installed in Windows and configured as described in Microsoft's Docs.

image

@mjcheetham
Copy link
Collaborator

Are you using GitLab.com or a self-hosted, or other instance?

@garysassano
Copy link
Author

The domain is gitlab.<org>.co, it's the GitLab Community Edition.

@mjcheetham
Copy link
Collaborator

Have you configured your GitLab instance, and GCM to support OAuth/browser authentication? Only GitLab.com comes configured out of the box. GitLab doesn't include a GCM OAuth application on self-hosted instances.

https://github.com/git-ecosystem/git-credential-manager/blob/main/docs/gitlab.md

@garysassano
Copy link
Author

I see, I would need to ask since I don't manage the organization. I just use Okta Dashboard to log into everything.

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 platform:wsl Specific to Windows Subsystem for Linux
Projects
None yet
Development

No branches or pull requests

2 participants