git-credential-manager
git-credential-manager copied to clipboard
Add support for Gitea
Add support for Gitea - https://gitea.io/en-us/
@lafriks maybe you can help? See the documentation for an overview of the architecture: https://github.com/microsoft/Git-Credential-Manager-Core/blob/master/docs/architecture.md and I guess you need to implement a Host Provider.
I could help as soon as support to Linux is added as this is currently my only available platform to work on
I could help as soon as support to Linux is added as this is currently my only available platform to work on
Well, quite honestly, there is nothing stopping you from helping with that, too.
@lafriks hey there. We would love to enlist your help building Gitea support now that we have preliminary Linux support. We can use this issue for tracking and coordinating the effort.
(That goes for anyone else who wants to contribute here or on any other Git hosting implementations, too!)
If anyone from the community wanted to work on this, they might start here: https://docs.gitea.io/en-us/oauth2-provider/
Reading https://docs.gitea.io/en-us/oauth2-provider/ the Gitea OAuth provider looks similar to GitLab's (albeit without scopes), so could follow https://github.com/GitCredentialManager/git-credential-manager/pull/591
We are planning to extend the generic provider to also support OAuth authentication, meaning support for hosts like Gitea could be added easily via config.
https://github.com/GitCredentialManager/git-credential-manager/issues/1047
Closing, as we added support for generic OAuth in #1062, slated to be released Feb. 17. Note that this will come unconfigured, so users will need to create their own Gitea OAuth Registrations - you can use this documentation as a guide.