When trying to add unmanagedAttributePolicy to the userProfile configuration (see config example below), the keycloak-config-cli throws an error.
Config:
2024-05-08 22:33:45.306 ERROR 408 --- [ main] d.a.k.config.KeycloakConfigRunner : Unable to parse file 'file:/opt/keycloak/data/import/realm.yaml': Cannot deserialize value of type `java.util.ArrayList<java.util.Map<java.lang.String,java.lang.Object>>` from String value (token `JsonToken.VALUE_STRING`)
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: de.adorsys.keycloak.config.model.RealmImport["userProfile"]->java.util.LinkedHashMap["unmanagedAttributePolicy"])
Expected Behavior
The keycloak-config-cli should be able to configure the unmanagedAttributePolicy with the corresponding value set (e.g. ENABLED, DISABLED, ADMIN_EDIT, ETC) and no error should be thrown.
Steps To Reproduce
Call the keycloak-config-cli using a config that contains the `userProfile.unmanagedAttributePolicy`, as provided in the example above.
Current Behavior
When trying to add
unmanagedAttributePolicy
to theuserProfile
configuration (see config example below), the keycloak-config-cli throws an error. Config:Error:
Expected Behavior
The keycloak-config-cli should be able to configure the
unmanagedAttributePolicy
with the corresponding value set (e.g.ENABLED
,DISABLED
,ADMIN_EDIT
, ETC) and no error should be thrown.Steps To Reproduce
Environment
Anything else?
No response