Allow updating of username

Created on 25 April 2022, over 2 years ago
Updated 31 July 2024, about 2 months ago

Problem/Motivation

In our current project the user management is fully delegated to Keycloak and renaming user accounts is a planned scenario. Therefore we would like to have a feature equivalent to userinfo_update_email for updating usernames in Drupal if they are changed in Keycloak.

Proposed resolution

Allow switching feature on/off via configuration.
Extend functionality of Keycloak::retrieveUserInfo().
Implement handling of non-unique usernames.

Remaining tasks

  • Implement

User interface changes

Add a checkbox in configuration form "Update username in user profile"

API changes

None.

Data model changes

Add userinfo_update_username configuration value in keycloak.schema.yml

Feature request
Status

Needs review

Version

2.2

Component

Code

Created by

🇦🇹Austria guedressel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024