Repository navigation
PUT Method Not Updating Groups via Keycloak REST API #35528
Unanswered
flaviodotcom
asked this question in
Q&A
Replies: 1 comment
|
I am also getting the same behavior on keycloak:23.0.6. Did you find any solution?
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,
I've encountered an issue with the Keycloak REST API when working with user groups. While the POST method successfully creates groups, the PUT method does not update the groups as expected.
According to the official documentation for the
REST API, the entireUserRepresentationobject should be passed in the request body when using the PUT method to update a user. However, it appears that the group information in the UserRepresentation is not being considered or applied during the update process.This seems to be a potential issue in the UserResource class, which may not be handling the group updates correctly. Could you confirm if this is a bug or the expected behavior? If it's a bug, I’d be happy to assist with additional details or testing to help resolve it.
All reactions