Closed turowicz closed 3 years ago
cc @lvermeulen
The following works just fine:
await _client.CreateClientAndRetrieveClientIdAsync(_realm, new Keycloak.Net.Models.Clients.Client
{
Name = name,
Id = id.ToString(),
ImplicitFlowEnabled = true,
RedirectUris = new[] { $"http://localhost" },
WebOrigins = new[] { new Uri(_url, name.ToAppId()).ToString() },
});
So it looks like that I am unable to add a Group with a specific ID, but I can add a Client with specific ID.
The documentation says I should be able to add the group with a custom ID, just like when adding a Client:
https://www.keycloak.org/docs-api/5.0/rest-api/index.html#_groups_resource https://www.keycloak.org/docs-api/5.0/rest-api/index.html#_grouprepresentation
Actually its the keycloak itself that breaks the REST pattern, not this nuget package.
I am getting an error when trying to create a group.