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

OAuth2 code flow: Missing state param when user is asked to authorize

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • quay-v3.7.0
    • quay-v3.6.6
    • quay.io
    • 0

    Description

      When user is first time requested to authorize oauth

      the state parameter is not returned in the callback

      There was similar issue https://issues.redhat.com/browse/PROJQUAY-3139, but it seems to be fixed only when user already authorized and is not redirected into "Authorize" page.

      I don't know the quay codebase, but it looks like state param is missing here https://github.com/quay/quay/blob/master/endpoints/web.py#L728 so Authorize page does not have it at all and can't send it back to callback.

      Attachments

        Activity

          People

            syahmed@redhat.com Syed Ahmed
            mvalarh Michal Vala
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: