Role AND group mapping with custom oauth using keycloak


I am trying to set up group and role mapping from keycloak to rocketchat. Role mapping works fine, but when i want to add group mapping as well, nothing happens. Is it even possible? Because there is only one field for group/role mapping in the customoauth settings. Thanks for your help.

Server Setup Information

  • Version of Rocket.Chat Server: 3.8.8
  • Operating System: Debian stretch
  • Deployment Method: docker on k8s
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information