silentpartnersoftware / Keycloak.Net

C# client for Keycloak version 17+
MIT License
51 stars 31 forks source link

User Group Policies for Authorization Services #31

Closed emmanuelmathot closed 10 months ago

emmanuelmathot commented 10 months ago

This PR adds new functions to Create, Update and Delete User and Group Policies in the authorization services

sps-campbellwray commented 10 months ago

@emmanuelmathot thanks for your contribution!

I was about to merge this, but strangely it doesn't appear in the API docs, could you please provide a URL to the documentation where this feature is described, so that I can double check the changes before merging

Thanks, Campbell

emmanuelmathot commented 10 months ago

Indeed, they are not in the official API reference doc. I found them here: https://www.puppeteers.net/blog/keycloak-authorization-services-rest-api-paths-and-payload/ As said by the authro of the article:

This article shows how to manipulate authorization data for a Keycloak client using the Keycloak Admin REST API. This use-case is particularly "lightly documented", meaning that there used to be zero documentation about this topic. Unless, of course, you count use of tcpdump and browser developer tools as documentation.

sps-campbellwray commented 10 months ago

Thanks, I'll merge this change now.

I usually try not to release to NuGet after every merged PR, and instead try to bundle a few changes together. Are you intending to open any additional PRs after this one, or should I prepare a release?

Fildrance commented 7 months ago

@sps-campbellwray can you please release package with thouse changes?

sps-campbellwray commented 7 months ago

@Fildrance yes, I will do so now.

Edit: It should be available on NuGet as soon as it has been validated and indexed