Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4349

Unable to authenticate users by GitLab

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4
    • 1.3
    • Authentication
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • RHIDP-4361 - RHDH Improve Authentication and IAM: Gitlab
    • RHDH Security 3265
    • Important

      Description of problem:

      Integration between Red Hat Developer Hub and GitLab to authenticate users, using the Backstage GitLab authentication capabilities (https://backstage.io/docs/auth/gitlab/provider/).

      Everytime an user provide the credentials, the next error is reported:

      Login failed; caused by Error: Sign in failed: User not found in the RHDH software catalog. Verify that users/groups are synchronized to the software catalog. For non-production environments, manually provision the user or disable the user provisioning requirement. Refer to the RHDH Authentication documentation for further details. 

      The user is unable to login.

      Prerequisites (if any, like setup, operators/versions):

      Red Hat Developer Hub 1.3 (OpenShift 4.16)

      GitLab v17.4.1 (By GitLab Operator 1.4.1)

      Steps to Reproduce

      This GH repository includes a fully detailed exercise to deploy GitLab and Red Hat Developer Hub on OpenShift and integrate both tools. It was tested successfully in previous versions of Red Hat Developer Hub (1.0, 1.1, 1.2), but it is failing in RHDH 1.3

      Follow the instructions until the section `Enable GitLab authentication` included. Using the `user1` or `user2` shows the error.
       
      GH Repository: https://github.com/rmarting/rhdh-exercises/tree/feat-upgrade-rhdh13

      Actual results:

      Unable user authentication and login into Red Hat Developer Hub.

      Expected results:

      Successfull authentiation and login into RHDH

      Reproducibility (Always/Intermittent/Only Once):

      Always in RHDH1.3

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              rh-ee-jhe Jessica He
              rmarting@redhat.com Roman Martin Gil
              RHIDP - Security
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: