Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2053

Enhancement: Add OAuth authentication support to GitHub factory

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 2.11.0.GA
    • 2.9.0.GA
    • docs
    • False
    • False
    • Hide
      = Factory link support for private GitHub repositories through OpenShift OAuth authentication

      With this update, the GitHub factory implementation supports reading from a private repository. Users can load a devfile hosted in a private repository. The added support for OpenShift OAuth token authentication allows working with repositories behind an RH-SSO organization.
      Show
      = Factory link support for private GitHub repositories through OpenShift OAuth authentication With this update, the GitHub factory implementation supports reading from a private repository. Users can load a devfile hosted in a private repository. The added support for OpenShift OAuth token authentication allows working with repositories behind an RH-SSO organization.

    Description

      https://github.com/eclipse/che/issues/19966

      Is your enhancement related to a problem? Please describe.

      The current implementation for GitHub factory does not support reading from a private repository. Because of this, a user cannot load a devfile hosted in a private repository. We can define a git credential secret in a k8s user namespace, but this only works if the devfile is reachable from the factory.

      Describe the solution you'd like

      Just like we have in Gitlab factory, it would be nice to add support for OAuth token authentication. Ideally the end solution would have the same user experience as with the Gitlab solution. The solution also needs to work for repositories behind a SSO organization.

      Attachments

        Activity

          People

            mmaler@redhat.com Michal Maléř
            mmaler@redhat.com Michal Maléř
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: