Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-18418 User Profile [supported]
  3. KEYCLOAK-18423

Support a user-friendly name property to attributes

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • None
    • None
    • Core

    Description

      In order to properly render pages dynamically, administrators should be able to set the display name of an attribute. This property should make it possible to render paged dynamically where the name of the attribute should be different than its internal name.

      IMO, it makes more sense to introduce the display name as a top-level attribute property as follows:

      {
          "name": "birthdate"
          "displayName": "Date of Birth"
      }
      

      Although annotations could be used for the same purpose, making it a top-level property makes it more explicit in the configuration schema as it is a very common configuration.

      Another possible solution, although a bit different from other places in Keycloak, to define a default placeholder for display name as follows: realm_name.user.profile.attribute_name.

      Regardless, we need i18n.

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: KEYCLOAK

              People

                velias@redhat.com Vlastimil Eliáš
                psilva@redhat.com Pedro Igor Craveiro
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: