Keycloak.Net icon indicating copy to clipboard operation
Keycloak.Net copied to clipboard

`RemoveRolesFromCompositeAsync` uses strange serialisation and fails

Open AShtifanovBK opened this issue 2 years ago • 0 comments

hi, i have noticed, that this method is using some strange serialisation that is nowhere used in the project:

https://github.com/lvermeulen/Keycloak.Net/blob/5870da22392273b1a6171769115ec7061a4b809a/src/Keycloak.Net/RolesById/KeycloakClient.cs#L54

and this method fails due to this, i suppose.

Good that there is another method RemoveCompositesFromRoleAsync which still works: https://github.com/lvermeulen/Keycloak.Net/blob/5870da22392273b1a6171769115ec7061a4b809a/src/Keycloak.Net/Roles/KeycloakClient.cs#L81

AShtifanovBK avatar Nov 08 '21 13:11 AShtifanovBK