79717463

Date: 2025-07-28 14:29:12
Score: 1
Natty:
Report link

Keycloak’s built-in Group Membership Token Mapper only includes direct user groups, not child groups.

If you want child groups included in the JWT, the easiest approach is to:

This way you keep tokens simple and handle hierarchy logic where it’s easier to maintain and customize.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mouhcine EL KHAOI