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

Support git-credential-manager OAuth for Gitea and other git server #202123

Closed
ghost opened this issue Jan 10, 2024 · 3 comments
Closed

Support git-credential-manager OAuth for Gitea and other git server #202123

ghost opened this issue Jan 10, 2024 · 3 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jan 10, 2024

git-ecosystem/git-credential-manager#1442
In GCM 2.4.1, OAuth for Gitea and other sites are supported. However, if you log into a remote server over ssh and try to push a git repo there (even if GCM is updated to 2.4.1 on the remote server), vs code will still prompt for username and password like in a HTTP basic auth.

@ghost ghost changed the title Support git-credential-manager OAuth for Gitea and other sites Support git-credential-manager OAuth for Gitea and other git server Jan 10, 2024
@lszomoru
Copy link
Member

VS Code is "the participant" in the git authentication pipeline so the fact that VS code prompts for username and passwords indicates that GCM manager is not configured correctly hence it did not handle the auth request.

@ghost
Copy link
Author

ghost commented Jan 18, 2024

Could you give me some hints about the configuration? I did a fresh install of ubuntu and git and installed GCM manager from their github repo.

@lszomoru
Copy link
Member

@nick008a, I see that you have already filed an issue in the git credential manager repo. I think that is the best course of action as this does not seem to be an issue with VS Code. I will go ahead and close this issue for now, but please feel free to reopen it if it turns out to be an issue with VS Code. Thanks!

@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant