Keycloak has support for groups
Creating a Group
- Go to
Manage -> Groups
- Create Group
- You can map the group name into the token and the application can make decisions based on the group name.
- You can add attributes to a group. Any user in that group will get the group attributes as well.
- You can also map roles to group.