Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-746

Ansible Portal - ENABLE_AUTH_PROVIDER_MODULE_OVERRIDE must allow multiple providers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Authentication
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Ansible Portal uses a custom auth plugin with RHDH. However, we will need customers to authenticate with repos, too, for our technical preview planned for Summit 2025 (May). RHDH should allow the custom AAP auth plugin to work with other auth plugins such as GitHub.

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

      Using rhdh-local setup:

      RHDH image: registry.redhat.io/rhdh/rhdh-hub-rhel9:1.5.1

       
      Set the environment variable:

      ENABLE_AUTH_PROVIDER_MODULE_OVERRIDE=true

      Set up the GitHub authentication provider

      Steps to Reproduce

      1. Attempt to log in with the GitHub Auth provider.
         
         

      Actual results:

      {"error":\{"name":"NotFoundError","message":"Unknown auth provider 'github'"}

      ,"request":{"method":"GET","url":"/github/start?scope=read%3Auser&origin=https%3A%2F%2F44.206.42.221%3A7007&flow=popup&env=development"},"response":{"statusCode":404}}

      Expected results:

      The Ansible custom auth provider works with any additional auth providers.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

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

              Unassigned Unassigned
              cbrandt1 Craig Brandt
              RHDH Security
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: