Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7621

Passing the access_token as HTTP header instead query parameter when using 3scale API Docs

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Can't Do
    • Major
    • None
    • SaaS, 2.10 GA
    • System
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 0
    • 0% 0%

    Description

      Currently, when using any available API in 3scale API Docs, is it possible sending the requests (cURL command) with the access_token as query parameter. As example the Application List (all services) API below:

      curl -v -X GET "https://<ADMIN_PORTAL_DOMAIN>/admin/api/applications.xml?access_token=<ACCESS_TOKEN>&page=1&per_page=500"

      The paramType is hard coded to allow only query parameters and not HTTP headers:

      {
       "name": "access_token",
       "description": "A personal Access Token",
       "dataType": "string",
       "required": true,
       "paramType": "query",
       "threescale_name": "access_token"
       },

      It seems that passing the access_token as query parameter is insecure and a customer is requesting that when using the 3scale API Docs be allowed passing the access_token as HTTP headers instead.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gpereira@redhat.com Gustavo Pereira
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: