You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add OrganizationMemberResource.updateMembershipType (membership-type endpoint from Keycloak 26.8) #252
PUT /admin/realms/{realm}/organizations/{organizationId}/members/{memberId}/membership-typeContent-Type: application/json"MANAGED"
keycloak/keycloak#52370 also added the matching method to OrganizationMemberResource in integration/admin-client-core of the main repository:
/** * @since Keycloak server 26.8.0 */@Path("membership-type")
@PUT@Consumes(MediaType.APPLICATION_JSON)
ResponseupdateMembershipType(MembershipTypemembershipType);
This method has not been synced to keycloak-client yet. It is neither on main nor in the latest release 26.0.12, probably because the nightly upstream sync is currently failing (#250, #251).
Expected behavior
A keycloak-admin-client release that contains OrganizationMemberResource.updateMembershipType(MembershipType), so it can be used like this:
We provision users via SCIM into an organization, and they have to be managed members. OrganizationMembersResource.addMember(userId) always creates an unmanaged member, so the membership type has to be
changed afterwards.
Without the client method, we have to work around it with a custom JAX-RS interface and Keycloak.proxy(...):
Activity