Role assignement and UserSubstitution

Hi,

I’m using the OIDC plugin with a keycloak server, I have implement a ClaimsRoleMapper, but when I substitute a User, the claimsRoleMapper seems not to be called and the role are not set.

How can I do it ?

Alex