Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20474

Improve error message for creating token REST API

    Details

    • Type: Bug
    • Status: Pending QA
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST API
    • Labels:
      None

      Description

      On using the REST API for creating a token, the error message obtained should be a gender-neutral pronoun. 

      Here's the current message :

      jfrog rt curl -XPOST /api/security/token -d "username=sample-service" -d "scope=member-of-groups:security-group"
      {
      "error" : "invalid_request",
      "error_description" : "User prasanna can only create user token for himself (requested: sample-service)"

       

      Need to change it to :
      User prasanna can only create user token(s) for themselves

        Attachments

          Activity

            People

            • Assignee:
              barakh Barak Hacham
              Reporter:
              prasannan Prasanna Narayana
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: