I would like Keycloak (1.4.0) to include the users\' chosen locale to the ID token.
I have come as far as creating a user attribute mapper, which was supposed to map the
I have managed to solve the problem on my own. I ended up using loadUserProfile() function from Keycloak JS adapter. It loads all the user attributes (including locale) into keycloak.profile object, so I didn't have to configure any mappers.