LDAP user gets deleted and recreated in RH-SSO with "Removed invalid user" log message

Solution Verified - Updated -

Issue

  • We are using RH-SSO API to create users in RH-SSO. Once the user is created, we use userID to perform different standard operations like group attach etc. In process of these standard operations we intermittently observe HTTP 404.

  • With debug logs enabled, we are frequently observing following log message in RH-SSO logs. The log message is observed immediately after the user is created.

2023-02-20 09:03:18,180 DEBUG [org.keycloak.storage.UserStorageManager] (default task-3) Removed invalid user 'add-user-test-1'
  • We have LDAP user federation configured in RH-SSO. Intermittently users are getting deleted and recreated in RH-SSO. Following log message is observed in the logs:
 DEBUG [org.keycloak.storage.UserStorageManager] (default task-11906) Removed invalid user 'abc'

Environment

  • Red Hat Single Sign-On
    • 7.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content