Skip to content

GitProxy as a GitHub/GitLab App #1450

@coopernetes

Description

@coopernetes

As a developer consuming Git Proxy, it would be convenient for GitProxy to act on behalf of users via a OAuth style integration to enable functions such as PR/MR creation, comments and reviews, etc. There is a current gap in the lifecycle of a contribution which git over HTTPS or SSH cannot accommodate directly. These operations often are accessible via APIs. However, those APIs are specific to the SCM provider and not generic.

A few open questions:

  1. How extensible is GitProxy's current authentication mechanisms today? Is it possible to extend the UI to handle SCM specific authentication flows (OAuth, etc)?
  2. Is it secure enough to store user session tokens per SCM? Should this be a standalone application instead which integrates with GitProxy but is not directly embedded?
  3. Which SCM providers is this possible to accomplish? There is known OAuth support for GitHub and GitLab. Other providers such as Codeberg (built on top of Forgejo) seem to have support for this as well but it's not guaranteed for all public git providers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions