Dev Services for Keycloak (current using on a WildFly based distribution container by default) can import the realm file by setting an env property but if a default realm has to be created which requires an HTTP call to Keycloak then it will not work if the shared network is enabled.
@geoand I have a PR ready to follow on your fix earlier - as the test you added (with the realm imported) does not cover the code path where a realm has to be created, I spotted it while fixing the #22420 build failure - since with Keycloak-X the realm can only imported at the moment by sending a create realm request over HTTP. The same fix is in #22420 but I'd not like to backport #22420 so I'd like to fix this specific issue independently and backport and then sync it to #22420
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of uname -a or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version or gradlew --version)
Describe the bug
Dev Services for Keycloak (current using on a WildFly based distribution container by default) can import the realm file by setting an env property but if a default realm has to be created which requires an HTTP call to Keycloak then it will not work if the shared network is enabled.
@geoand I have a PR ready to follow on your fix earlier - as the test you added (with the realm imported) does not cover the code path where a realm has to be created, I spotted it while fixing the #22420 build failure - since with Keycloak-X the realm can only imported at the moment by sending a create realm request over HTTP. The same fix is in #22420 but I'd not like to backport #22420 so I'd like to fix this specific issue independently and backport and then sync it to #22420
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response