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

Could not verify GitHub OAuth credentials

    XMLWordPrintable

Details

    • 0

    Description

      Description:

      When using the GITHUB_TRIGGER_CONFIG for an OnPremise GitHub Enterprise instance, Quay no longer launches because the config tool stops with the error "Could not verify GitHub OAuth credentials".

      Steps:

      1. Create an OAuth application within GitHub ES
      2. Enable GitHub Trigger Feature end define the GITHUB_TRIGGER_CONFIG (custom URI)
      3. Restart Quay

      Expected Results:

      Quay should verify the OAuth connection to the GitHub ES.

      Actual Results:

      Config-Tool stops with Error "Could not verify GitHub OAuth credentials". Config tool ignores the GITHUB_ENDPOINT parameter (https://api.github.com/ hardcoded)

      Sources:

      Check: config-tool/githubbuildtrigger_validator.go at master · quay/config-tool

      Bug: config-tool/validators.go at master · quay/config-tool (github.com)

      Workaround:

      Starting Quay with the IGNORE_VALIDATION=true environment variable.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gebitsolutions Lenny Linux (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: