Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
32.52 KB
MD5: ae408b4bb8f3bd633c8337958882e2db
SHA-1: 23bf9d1b97bce6369b1dd99007071c5f2103a2ac
SHA-256: 188183c343dc0a7a0f11172eaf00bdd24291cab6b2d6d595ea11bed934a8738d
Download zip
40.8 KB
MD5: 03cf1d83967c963de4cac6a8149bbfcd
SHA-1: 8c7c3ce26707f59534d7aa1c9a5f650f8d0197b5
SHA-256: fa42155a7097ee946a9d235f504bdd00a91cf5d346df68ab7fe3ee81f3b3961a
Release notes
Fixed
- Some saves are part of a synchronization: a migration, or a content or configuration import (
isSyncing()). A user saved that way, or the entity that carries the name (for example a profile), no longer pushes names and groups to Keycloak. It also no longer marks the user for the account-setup email, since such accounts exist in Keycloak already. Before, a migration of thousands of profiles called Keycloak for each of them. - A failing or unreachable Keycloak no longer breaks the save of a user or profile, nor a cron run. The error is logged in the channel
keycloak_registrationinstead of being thrown.
Upgrade notes
- No database updates, no configuration changes.
- The hook class gets the logger factory injected, so rebuild the caches after the update (
drush cr, ordrush deploy). - Sites that wrapped the module's client in their own decorator to skip syncing entities or to catch exceptions can drop it.
Changes since 1.3.3
- fix: skip synchronizing saves, never break a save when Keycloak fails