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

Fix application keys formats validations

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +

      There are some inconsistencies on the application keys formats validations:

      When the app auth type is "API Key (User key)":

      user_key:

      • The UI says:
      Only alphanumeric characters [0-9, a-z, A-Z], hyphen-minus , no spaces and 256 characters at most.

       

      When the app auth type is "App_ID and App_Key Pair" or "OpenID Connect":

      app_id:

      • The UI doesn't allow setting the App Id, but it can be done through the API endpoint:
      POST /admin/api/accounts/{account_id}/applications.xml

      app_key/client_key:

      • The UI says:
      Only alphanumeric characters [0-9, a-z, A-Z], hyphen-minus , between 5 and 256 characters long. No spaces allowed.

      This needs some rework: either we update all UI labels to match the backend validations, or we update backend validations to something that makes more sense. Or both. It doesn't make sense to allow spaces in app ids and app keys, IMO.

              Unassigned Unassigned
              rh-ee-jlledo Joan Lledo
              Martin Kudlej Martin Kudlej (Inactive)
              Daria Mayorova Daria Mayorova
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: