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

Can't use access token to get .npmrc entries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.13.0
    • Component/s: None
    • Labels:

      Description

      When using access token for non-existing and existing users in order to get .npmrc entries a 400 message is displayed.
      for example:

      command:

      curl -ujhonq:eyJ2ZXIiOiIy... http://localhost:8081/artifactory/api/npm/auth
      response:
      {
      "errors" : [

      { "status" : 400, "message" : "You must be authenticated." }

      ]
      }

      happens also with -H "Authorization: Bearer <TOKEN>"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alexeiv Alexei Vainshtein
              Reporter:
              adim Adi Malca
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: