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

Retrieving the current logged in username

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Rejected
    • 1.0-beta-3
    • 1.0-beta-3
    • None
    • None

    Description

      I'm not 100% sure if this is a bug on Keycloak, but after a user is
      successfully authenticated the method ".getUserPrincipal" returns null. This is what I've been trying to do[1].

      I saw an issue reported with old versions of Resteasy[2], but the NPE persists even after upgrade the project to the latest version. The issue was tested against jboss-as-7.1.1.Final.

      [1] - https://github.com/abstractj/aerogear-unifiedpush-server/commit/de1f50370f4c339ad394b94def377a4c0072988b#diff-2ab40ceec347387de26ff2d7cab8ecb3R56
      [2] - https://issues.jboss.org/browse/AS7-3227

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              boliveir_managed_kafka_security (inactive user) Bruno Oliveira Silva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: