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

Role List Mapper is not working correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not a Bug
    • Affects Version/s: 8.0.2
    • Fix Version/s: 8.0.2
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Create a role mapper for a saml client.

      Try to take these roles as a list in any simple application.

      See screenshots attached.

      Show
      Create a role mapper for a saml client. Try to take these roles as a list in any simple application. See screenshots attached.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW
    • [QE] How to address?:
      ---
    • [QE] Why QE missed?:
      ---

      Description

      I'm trying to use a role list mapper to send roles as an array to my application. (protocol saml) 

      The problem is I never receive these roles as an array.

      I debugged RoleListMapper class of keyclaok-services jar. I put a breakpoint in the method mapRoles. The variable singleAttribute is always taking false no matter what u have configured in keycloak administration console.

        Attachments

        1. samlDebug.PNG
          samlDebug.PNG
          91 kB
        2. samlTicket.PNG
          samlTicket.PNG
          32 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ihebhasni iheb hasni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: