Nerzal / gocloak

golang keycloak client
Apache License 2.0
1.01k stars 275 forks source link

Versioning with Keycloak #457

Open osmian opened 8 months ago

osmian commented 8 months ago

Is your feature request related to a problem? Please describe. As keycloak is updated and adds more APIs, parameters and functionality how will the gocloak package be versioned alongside it? For example today, running the Makefile tests it uses docker compose with keycloak image quay.io/keycloak/keycloak:19.0 to test the client methods. If we want to add client methods for APIs added to the admin rest api in keycloak after 19.0, what's a consistent/safe way to do so?

Describe the solution you'd like I'm curious here on what some good solutions may be, something like versioning gocloak to the keycloak version? @Nerzal is this something already supported or planned?

Dmarcotrigiano commented 4 months ago

I need programmatic user profile configuration from keycloak/keycloak:24.0.3, specifically the multivalued boolean parameter. I am happy to contribute but we definitely need a strategy.

pierreozoux commented 4 months ago

@Dmarcotrigiano I created a dedicated issue: https://github.com/Nerzal/gocloak/issues/473

osamaadam commented 3 months ago

Any updates on this? The API for creating/updating policies has changed in the later releases (v20+) see #286. Are their plans to support different versions of Keycloak servers?