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

Update the field used as Artifactory username from OpenID

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.4.0
    • Component/s: OAuth
    • Labels:

      Description

      Currently, when integrating Artifactory with Oauth OpenID, Artifactory is looking for a "preferred_username" or "email" fields in the JSON response.
      In some cases, non of these are returned in the JSON. In these cases we did noticed the "unique_name" is being responded.
      According to this: http://kb.mit.edu/confluence/display/istcontrib/Logging+in+Users+to+your+application+using+OpenID+Connect
      "The preferred_username and email fields should never be used as unique identifiers"

      This can be resolved by one of the 2:
      1. Add the "unique_name" as an identifier.
      2. Provide the user to decide which of the fields in the JSON should be used as the username in Artifactory (In the UI).

        Attachments

          Activity

              People

              Assignee:
              inbart Inbar Tal [X] (Inactive)
              Reporter:
              arielk Ariel Kabov
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: