Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-1137

Access to logged in user data (first/last name) on any page in freemarker

    XMLWordPrintable

Details

    Description

      There is no way how to access logged in user data like first / last name.

      I checked with mposolda@redhat.com that account bean is populated only to account page: https://github.com/keycloak/keycloak/blob/master/forms/account-freemarker/src/main/java/org/keycloak/account/freemarker/FreeMarkerAccountProvider.java#L144

      It would be great to have something similar on every page beucase I'd like to use first/last name in template.ftl

      Attachments

        Activity

          People

            sthorger@redhat.com Stian Thorgersen
            lkrzyzan Libor Krzyzanek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: