keycloak-realm-operator icon indicating copy to clipboard operation
keycloak-realm-operator copied to clipboard

User additional attributes are not applied

Open mohitmutha opened this issue 6 months ago • 0 comments

Describe the bug

Create a realm with users and an additional attribute customer as below The realm is applied but the additional attribute is not applied to the created user

...
users:
      - username: eot-user
        enabled: true
        emailVerified: true
        firstName: EOT
        lastName: User
        email: [email protected]
        attributes:
          customer:
            - "TST"
        credentials:
        - type: password
          value: admin
        realmRoles:
        - default-roles-eot
        requiredActions:
        - UPDATE_PASSWORD
        groups:
        - "/device-management/devices-read"

Version

24.0.3

Expected behavior

The additional attribute should be mapped to the user

Actual behavior

Attribute is not mapped

How to Reproduce?

No response

Anything else?

No response

mohitmutha avatar Aug 18 '24 06:08 mohitmutha