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

Quay 3.6.0 API Doc should guide customer how to get the 1st Oauth2 token

    XMLWordPrintable

Details

    • 0

    Description

      Description:

      This is a Doc issue found in Quay API, in Quay 3.6.0 there's new API "/api/v1/user/initialize" introduced, but the doc doesn't show how to get the Oauth2 token, pls add this into the API Guide.

      Payload:

      {    
        "username": "quay",    
        "password": "password",    
        "email": "quay@redhat,com",    
        "access_token": true
      }
      

      Response:

      {
          "access_token": "01B89E4JBAT95ZICFLJOQ11R2TQKO41H0QBBRV68",
          "email": "quay@redhat,com",
          "encrypted_password": "SL667lVn02Js/yT5h+qpdxtwytV5VyiYIBYLZmPJfS5/8sP0S1AoRU8ZwAmJztIc",
          "username": "quay"
      }
      
      

      https://gabriel-rh.github.io/quay-docs/downstream/deploy_quay_on_openshift_op_tng/html-single/#operator-first-user-api 

      Attachments

        Activity

          People

            rhn-support-gmcgoldr Gabriel McGoldrick
            lzha1981 luffy zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: