Skip to main content

Tutorial: adding auto mapping of forgejo groups

Create a role on the Keycloak client: Screenshot_20240708_134308.png

Go into the group in question and map it the role you just made: Screenshot_20240708_134350.png

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