[keycloak-user] Update the user only with required fields
Chamantha De Silva
chamantha at outlook.com
Fri Jun 26 01:18:08 EDT 2015
Thank you for your response, we are using Keycloak 1.2.0 final and in that version we do have that problem. If we update only particular element in user update call it will truncate (turn to default values in some cases eg : boolean).
> Date: Thu, 25 Jun 2015 10:20:53 -0400
> From: stian at redhat.com
> To: chamantha at outlook.com
> CC: keycloak-user at lists.jboss.org
> Subject: Re: [keycloak-user] Update the user only with required fields
> You can just send the user json and only include the attributes you want to change.
> ----- Original Message -----
> > From: "Chamantha De Silva" <chamantha at outlook.com>
> > To: keycloak-user at lists.jboss.org
> > Sent: Thursday, 25 June, 2015 1:22:31 AM
> > Subject: [keycloak-user] Update the user only with required fields
> > Hi Team,
> > There are situations that we use update user rest API, to update just one
> > element of user (eg: enabled : false etc.) .
> > This requires a pre fetched user object from the GET user call, other wise
> > rest of the user information tend to be truncated after the update call.
> > Is there a possibility to update only specific elements of the user instead
> > of sending whole the user object (objective is to avoid the GET call right
> > before the update call and avoid possible tendency of data truncations )?
> > Your kind reply is highly appreciated.
> > Best regards,
> > Chamantha
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the keycloak-user