Using Variables in LDAP Federation Mappers

Hey All,

Anyone know how you could use variables/tokens in LDAP federation mappers?
For instance, if I wanted to map and set a default for homeDirectory in default attribute of /home/${USERNAME}

Is this possible?
I’m on keycloak 20.0.3
With FreeIPA backend

Hi,

Did you tried this syntax : $MY_VAR ?

++

Hey, thanks for replying, i did give that a try, same result, it’s not getting replaced etc,
I also tried $($USERNAME) $(USERNAME)