Tutorial: adding auto mapping of forgejo groups
Create a role on the Keycloak client:
Go into the group in question and map it the role you just made:
Add a json snippet to map the role in the incoming tokens to the appropriate team on the org:
{"the-distro-committer": {"the-distro": ["committers"]}, "the-distro-org-owner": {"the-distro": ["owners"]}}
It needs to be added to: https://git.lix.systems/admin/auths/1