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

Custom OIDC external authentication ignores PREFERRED_URL_SCHEME configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • quay-v3.5.0
    • None
    • quay
    • 0

    Description

      After correctly configuring a custom OIDC provider for my organization and authenticating against it from a running quay installation built off the qui-gon branch, the Flask app redirects my client to an http:// URL despite setting PREFERRED_URL_SCHEME: 'https' in config.yaml.

      It is caused by some non-obvious features of the Flask url_for() function requiring the _scheme='https" and _external=True params

      I have fixed this in a custom build and PR from my fork.

      Attachments

        Activity

          People

            jonathankingfc Jonathan King
            lazzarello Lee Azzarello (Inactive)
            luffy zhang luffy zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: