lvermeulen/Keycloak.Net

`RemoveRolesFromCompositeAsync` uses strange serialisation and fails

Opened this issue · 0 comments

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

.SendJsonAsync(HttpMethod.Delete, new CapturedJsonContent(_serializer.Serialize(roles)))

and this method fails due to this, i suppose.

Good that there is another method RemoveCompositesFromRoleAsync which still works:

.SendJsonAsync(HttpMethod.Delete, roles)