Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-9865

GitHub and Google users are required to authenticate twice on their first use when enable FEATURE_USER_METADATA

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      After enabling FEATURE_USER_METADATA in Quay, you will need to authenticate twice to successfully access the Quay organization page when logging into Quay for the first time using a GitHub or Google account.

      Quay config.yaml

      FEATURE_USER_METADATA: true
      FEATURE_GITHUB_LOGIN: true
      GITHUB_LOGIN_CONFIG:
          API_ENDPOINT: https://api.github.com/
          CLIENT_ID:  xxxxx
          CLIENT_SECRET: cxxxxxx
          GITHUB_ENDPOINT: https://github.com/
          LOGIN_BINDING_FIELD: sub
      FEATURE_GOOGLE_LOGIN: true
      GOOGLE_LOGIN_CONFIG:
          CLIENT_ID: xxxx
          CLIENT_SECRET:  xxxx
          LOGIN_BINDING_FIELD: sub 

      Take GitHub as example:
      1 Click 'Sign in with GitHub' in quay login page

      step 1

      2 The page will go to "Tell us a bit more about yourself" page

      step 2

      3. After filling out the form, click 'Save Details' button, the page will go back to login page again.

      step 3

      4. Click 'Sign in with GitHub' again then can go to organization page successfully

      step 1

      Get the testing details in Screen Recording 2025-11-26 at 15.11.19.mov

      The expected behavior should be that after completing the "Tell me a bit more about yourself" form, the page should redirect directly to the Organizations page.

        1. Screen Recording 2025-11-26 at 15.11.19.mov
          4.65 MB
          Weihua Hu
        2. Screenshot 2025-11-26 at 15.21.40.png
          288 kB
          Weihua Hu
        3. Screenshot 2025-11-26 at 15.21.51.png
          246 kB
          Weihua Hu
        4. Screenshot 2025-11-26 at 15.23.57.png
          193 kB
          Weihua Hu

              Unassigned Unassigned
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: