Description
Describe the bug
Repository https://github.com/keycloak/keycloak-client currently has 2 branches.
-
Branch
main, which is supposed to be compatible with Keycloak server 27 (which means also with Keycloak server "nightly"). This branch does not need to be compatible with Keycloak server 26 or older -
Branch
release/26.0, which is supposed to be compatible with Keycloak server 26
Regarding automated tests, I think the desired behavior is:
-
The nightly CI build is triggered against keycloak-client
mainbranch. It should test with Keycloak server nightly and with Keycloak server 27 releases (we do not have any 27 releases yet, so ATM it should be justnightlybuild -
The PR run against keycloak-client
mainbranch should test also just with keycloak servernightly -
The PR run against keycloak-client
release/26.0branch should test with supported Keycloak servers (so Keycloak server26.8,26.6and26.4right now)
It seems that (1) is not the case right now. The latest keycloak-client nightly CI run in Keycloak Client CI tests against Keycloak server 26.8, 26.6 and 26.4. For example see https://github.com/keycloak/keycloak-client/actions/runs/46794224127 . This means that when there are issues in the PR against keycloak-client main , we cannot see if those are regressions in the PR itself (as the nightly build tests against 26.X servers, not against nightly Keycloak server)
Version
nightly (from 2026-12-03)
Expected behavior
Nightly run of Keycloak client CI tests keycloak-client main branch with Keycloak server nightly version
Actual behavior
Nightly run of Keycloak client CI tests keycloak-client against Keycloak server 26.8 , 26.6 and 26.4
How to Reproduce?
No response
Anything else?
No response
Activity
stianst commentedon Dec 4, 2026
I'm okay with this for now, but we may need to have some cross-versions support. See keycloak/keycloak#51613
We should try to avoid requiring that people update their clients at the same time as they upgrade the server; and some may also have a need to manage both old and new servers with the same applications.
Assuming someone uses keycloak-client 26.x against a keycloak server 27.x that should work as long as they don't use anything the 27.x server doesn't understand, which basically means anything marked as
@Deprecated. Same goes the other way around you can use a keycloak-client 27.x against a keycloak server 28.x as long as you don't use anything new introduced in 27.x that is not available in 26.x.