The question is in the title.
Can someone please explain what's the purpose of "Role name Mapper" and how it configures.
I don't have the access to keycloak sadly.
Role name mapper allows you to change the name of an existing role.
With this feature you can rename a role to something you'd prefer to show up in the token.