Drupal to Keycloak image

Keycloak User Sync

Keycloak User Sync integrates Drupal with Keycloak to synchronize user data in real-time. It ensures that user creation, updates, and deletions in Drupal are reflected in Keycloak, offering a seamless user management solution. The module also supports mapping custom fields for advanced synchronization needs.

Features

  • Basic Functionality: Automatically sync user data between Drupal and Keycloak for create, update, and delete actions.
  • Custom Field Mapping: Map custom fields from Drupal (User Account or Profile module fields) to Keycloak attributes.
  • Use Cases: Ideal for projects requiring centralized identity management with Keycloak. Useful for organizations leveraging Keycloak for authentication and user management.

Post-Installation

  1. Configure the Keycloak connection and credentials in settings.php (see README.md for the correct $settings-values).
  2. Set up field mappings in /admin/config/people/keycloak-user-sync for seamless integration.
  3. Enable features like custom field updates or default actions for new users upon login.

Additional Requirements

  1. Drupal: 10.x or 11.x.
  2. PHP: 8.1 or higher.
  3. Keycloak: Tested with version 26.x.
  4. Optional: Profile module for profile field mapping.

Recommended Modules/Libraries

  • Profile: Enhances custom field mapping options.

Documentation

You can find a more in-depth documentation in the README.md of the module.

Project information

Releases