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

Cannot update Token mapper configuration

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.1.0.Final
    • 3.4.1.CR1
    • Admin - Console
    • None
    • Hide

      Create a Client Template.
      Configure a Token mapper to map a user attribute to a token claim name.
      Save it.
      Try to update it by changing some value.
      You should get an errormessage in the console and a stracktrace in the logs with a unique constraint violation.

      FYI:
      We use an Oracle DB. Schema was auto-generated by Keycloak at first startup.

      Show
      Create a Client Template. Configure a Token mapper to map a user attribute to a token claim name. Save it. Try to update it by changing some value. You should get an errormessage in the console and a stracktrace in the logs with a unique constraint violation. FYI: We use an Oracle DB. Schema was auto-generated by Keycloak at first startup.
    • NEW
    • VERIFIED

    Description

      When you have configured a Token mapper to map a user attribute, you can not update the value afterwards.
      You get a unique constraint violation from the DB.
      The only solution is to remove the mapper and create a new one.

      Attachments

        Issue Links

          Activity

            People

              sthorger@redhat.com Stian Thorgersen
              frederik.libert Frederik Libert
              Zuzana Schwarzov√° Zuzana Schwarzov√° (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: