keycloak/keycloak

Attributes not being removed from user accounts.

Open

#38.610 aperta il 2 apr 2025

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)Java (8346 fork)batch import
area/user-profilehelp wantedkind/enhancementpriority/lowstatus/auto-bumpstatus/auto-expireteam/core-iam

Metriche repository

Star
 (34.398 star)
Metriche merge PR
 (Merge medio 6g 19h) (384 PR mergiate in 30 g)

Descrizione

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

user-profile

Describe the bug

Hello, when deleting "User Profile Attributes" from the realm, users that have a value in that attribute still keep the attributes and their data internally. These attributes and their values should be removed from user accounts.

Version

26.1.4

Regression

  • The issue is a regression

Expected behavior

When deleting "User Profile Attributes" from the realm, these attributes and their values should be removed from user accounts.

Actual behavior

Attributes are removed from the realm and user profiles but when querying user data with REST API, the attributes are still present.

How to Reproduce?

Create a user attribute in the realm Assign a value to a user account Delete the attribute from the realm Use this query on the REST API /admin/realms/{realm}/users/?username={username} Verify that "deleted" attribute is still present

Anything else?

No response

Guida contributor