-
Notifications
You must be signed in to change notification settings - Fork 13
Description
When using Authing Java SDK v3, calling the addGroupMembers method returns a 200 OK response with success = true. However, when retrieving the same group afterward using getGroup, the members field is always null.
This behavior occurs even though:
- The group ID is valid
- The user IDs are valid
- The API response indicates success
- No error or warning is returned
Expected Behavior
After successfully adding members to a group, retrieving the group should return the list of members.
Actual Behavior
members is always null when retrieving the group, even after a successful addGroupMembers call.
AddGroupMembersReqDto addReq = new AddGroupMembersReqDto();
addReq.setCode("GROUP_CODE");
addReq.setUserIds(Arrays.asList("USER_ID_1", "USER_ID_2"));
IsSuccessRespDto response = managementClient.addGroupMembers(addReq);
GetGroupDto reqDto = new GetGroupDto();
reqDto.setCode("GROUP_CODE");
GroupSingleRespDto response = client.getGroup(reqDto); // response.data.members always null