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

How can I get the “Sign in with your browser” page to pop up #1001

Closed
maikebing opened this issue Dec 19, 2022 · 5 comments
Closed

How can I get the “Sign in with your browser” page to pop up #1001

maikebing opened this issue Dec 19, 2022 · 5 comments

Comments

@maikebing
Copy link

#1000
I'm trying to support a new git repository hoster, But I'm having a problem
I tested GitLab related but ran into the same issue.

  1. Run "C:\Program Files (x86)\Git Credential Manager\GitLab.UI.exe"
  2. Click "Show"
  3. Click "Sign in with your browser"
    Nothing happened
    How can I get the GitLab page to pop up。
@ldennington
Copy link
Contributor

Hi @maikebing - can I ask why you're trying to run the GitLab helper directly? The typical workflow is using GCM to call these types of helpers. It seems like you might be trying to debug a local build, so, for example, you could:

cd <path to your local GCM clone>
dotnet build --configuration=WindowsDebug

That will create an installer with your changes at:

<path to your local GCM clone>\out\windows\Installer.Windows\bin\Debug\net472\gcm-win-x86-2.0.889.exe

Run the installer exe above, then run:

"C:\Program Files (x86)\Git Credential Manager\git-credential-manager.exe" get

then (making sure to include the extra CRLF (in other words, a blank line) at the end to terminate your list of attributes):

protocol=https
host=gitlab.com

You should see the popup at that point. Please let me know if you have any questions.

@maikebing
Copy link
Author

I want to debug "Sign in with your browse"

@maikebing
Copy link
Author

image

@maikebing
Copy link
Author

i hope pop up like this
image

@maikebing
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants