github dasniko/testcontainers-keycloak 2.0.0
Keycloak 17 support (Quarkus-based distribution)

latest releases: v4.0.0, v3.9.0, v3.8.0...
3 years ago

Breaking Changes

  • The new base image is the Quarkus-based distribution of Keycloak
    This version branch WILL NOT work with legacy (Wildfly-based) Keycloak distributions!
  • if you used withExtensionClassesFrom(), you have to change it to withProviderClassesFrom() method
  • the URL returned by getAuthServerUrl() now has a trailing /, possibly you have to change the way you construct/concatenate your paths, you can adjust your custom context path with .withContextPath(...)

New Features

  • the Keycloak admin client org.keycloak:keycloak-admin-client is now a transitive dependency of this library and can be used right out of the box by calling keycloakContainer.getKeycloakAdminClient().
  • you can adjust your custom context path with .withContextPath(...)
  • additionally to TLS config with certificate and key file, you can now use a ready built Java keystore with .useTlsKeystore(keystoreFilename, keystorePassword)
  • you can enable/disable Keycloak features with .withFeaturesEnabled(features...) and .withFeaturesDisabled(features...)

Other Changes

  • Java 11 is now the minimum Java version for development
  • Testing with JUnit 5 support
  • License changed to Apache License 2.0

Don't miss a new testcontainers-keycloak release

NewReleases is sending notifications on new releases.