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

Authenticate with GitHub a user absent in the software catalog when `dangerouslyAllowSignInWithoutUserInCatalog` is set to true

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

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

      None

      Show
      None
    • False
    • Hide
      Before this update, authentication with Github failed when the `dangerouslyAllowSignInWithoutUserInCatalog` field was set to true and the user was absent from the software catalog.

      With this update, when the `dangerouslyAllowSignInWithoutUserInCatalog` field is set to true, you can authenticate to {product-short} with a user absent from the software catalog.
      Show
      Before this update, authentication with Github failed when the `dangerouslyAllowSignInWithoutUserInCatalog` field was set to true and the user was absent from the software catalog. With this update, when the `dangerouslyAllowSignInWithoutUserInCatalog` field is set to true, you can authenticate to {product-short} with a user absent from the software catalog.
    • Bug Fix
    • Done
    • RHDH Core Team 3262, RHDH Core Team 3263

      Description of problem:

      When trying to login with GitHub auth, the following error appears when the user signing in is not present in the catalog.

       

      Login failed; caused by Error: "sub" claim provided by the auth resolver is not a valid EntityRef. 

       

      Steps to Reproduce

      1. Set up Github auth on this commit (0c987ed1f1edcde991b5161b84f1816f8a62ef34) on backstage showcase
      2. Attempt to login with user without ingesting the user with Github catalog provider

      Expected results:

      When dangerouslyAllowSignInWithoutUserInCatalog is set to true, there should not be any errors when logging in. 

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

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

            rh-ee-jhe Jessica He
            rh-ee-jhe Jessica He
            RHIDP - Core Platform
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: