Skip to content

giz-berlin/keycloak-vikunja-team-mapper

Repository files navigation

Keycloak Groups to Vikunja Teams mapper

pipeline status

A Keycloak Mapper that maps Keycloak groups to Vikunja teams. The mapper allows configuration of specific attributes on groups to configure whether

  • Teams are public
  • How the teams are named
  • Which description teams have

This mapper is compatible with Vikunja 0.25 onwards.

Installation

Place the generated jar-file into the Keycloak deployments folder. In the Keycloak Quarkus distribution it is located at /opt/keycloak/providers.

Mapper Configuration

To activate the mapper, you must configure it for your clients.

As an example, we add the mapper to the vikunja client.

  1. Go to the Admin Console, select your client.
  2. Go to Client Scopes.
  3. Click on the dedicated scopes entry (should be the first one).
  4. Select Add Mapper and By Configuration.
  5. Select Vikunja team mapper.
  6. Fill in the configuration form. Fill in (or use the default) attribute names on groups.
  7. Click Save.
  8. Go to a group of your choice.
  9. Select the Attributes tab.
  10. Fill in the key for the team name, you configured in your mapper configuration form. Choose a name as value.
  11. Click Save.

Now, your ID token should include the name of the group you chose.

Example Vikunja Team Mapper Configuration

You may add the other keys to a group as well. However, only a group with a filled in name will be synced to Vikunja.

It is safe to change the values of all Vikunja attributes on groups (even names) as they are synced via the Keycloak Group ID.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages