ApiCurio Registry - The artifact owner is mapped with the oid value

Solution In Progress - Updated -

Issue

  • When using Azure Entra ID Oauth token for authentication & authorization, the artifact owner is mapped with the oid value while it should be the client ID (azp).

  • When we create an artifact using a token. the value of createdBy took the oid as value from token instead of the azp which represent the Client ID. For instance:

    Token:

      "azp": "1c5d7dc9-c0d4-441f-930a-a9a1201ace6f",
      "azpacr": "1",
      "oid": "f453039e-3c78-4547-9b34-966cf03f33f4",
    

    The output of create artifact command:

    {
        "contentId": 2,
        "createdBy": "f453039e-3c78-4547-9b34-966cf03f33f4",
         .....
        "references": [],
        "state": "ENABLED",
        "type": "JSON",
        "version": "1.0.0"
    }
    

Environment

  • ApiCurio Registry: 2.6.x
  • Red Hat OpenShift Container Platform (RHOCP): 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content