Closed AnakinPt closed 8 months ago
Have you tried to import the json file into another, regular Keycloak server? Most likely there's something in your json which Keycloak doesn't like.
I think it was me who had a wrong file. I might forgotten to remove "authorizationSettings" from the file. Closing as today is working properly.
Describe the bug
When I'm trying to import a realm exported from an existing keycloak server, the testcontainer fails with this message.
I was following the steps in https://www.baeldung.com/spring-boot-keycloak-integration-testing and have this code in my test:
realm-export-basic.json
Version
3.0.0
Expected behavior
Keycloak starts and I can run tests on it.
Actual behavior
Container doesn't start
How to Reproduce?
Run a keycloak locally with docker image bitnami/keycloak:22.0.4-debian-11-r3 (I use the bitnami helm chart to run), do a configuration of a basic realm in the admin console, partially export it with groups, roles and clients, and then try to start a container with that file.
Relevant log output