...
If you intend to use Managed groups (manage your users' group meberships membership in Keycloak) or Auto create groups, you also need a mapper for group claims. If not, you can skip this step.
...
Set Name to Group
Set Mapper Type to Group MemrshipMembership
Set Token claim Name to Groups
Set Full group path to OFF
...