git-credential-manager icon indicating copy to clipboard operation
git-credential-manager copied to clipboard

Add support for Gitea

Open lafriks opened this issue 5 years ago • 6 comments

Add support for Gitea - https://gitea.io/en-us/

lafriks avatar Jul 03 '20 06:07 lafriks

@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.

dscho avatar Jul 03 '20 06:07 dscho

I could help as soon as support to Linux is added as this is currently my only available platform to work on

lafriks avatar Jul 03 '20 06:07 lafriks

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.

dscho avatar Jul 03 '20 07:07 dscho

@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!)

vtbassmatt avatar Feb 11 '21 16:02 vtbassmatt

If anyone from the community wanted to work on this, they might start here: https://docs.gitea.io/en-us/oauth2-provider/

vtbassmatt avatar Oct 07 '21 13:10 vtbassmatt

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

hickford avatar Sep 17 '22 22:09 hickford

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

mjcheetham avatar Jan 24 '23 23:01 mjcheetham

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.

ldennington avatar Feb 13 '23 22:02 ldennington