Why updating user without email, makes the user email null ?

Solution Verified - Updated -

Issue

  • The user email is set to null, if the user email is not passed in user representation to PUT /admin/realms/{realm}/users/{user-id}.
  • Even if there is no change in user email - why should the user email be passed while updating a user using Admin REST API?

Environment

  • Red Hat Build of Keycloak (RHBK)
    • 24.0.X
    • 26.0.X

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