Open JacobHicksSponge opened 2 days ago
I ran the steps you mentioned trying to reproduce the error, however I was unable to. I initially thought it might be a breaking change in the new version of Keycloak so I tested out 24.0.0
and that worked fine. I then tested 25.0.1
and I still didn't run into issues when following the steps referenced.
➜ ~ docker cp ~/Downloads/keycloak-scim-1.0-SNAPSHOT-all.jar 5c4580678699:/opt/keycloak/providers/
Successfully copied 15.2MB to 5c4580678699:/opt/keycloak/providers/
➜ ~ docker exec -it 5c4580678699 bash
bash-5.1$ /opt/keycloak/bin/kc.sh build
Updating the configuration and installing your custom providers, if any. Please wait.
2024-07-02 14:41:47,246 WARN [org.key.services] (build-50) KC-SERVICES0047: scim-resource (sh.libre.scim.jpa.ScimResourceProviderFactory) is implementing the internal SPI jpa-entity-provider. This SPI is internal and may change without notice
2024-07-02 14:41:47,330 WARN [org.key.services] (build-50) KC-SERVICES0047: scim (sh.libre.scim.event.ScimEventListenerProviderFactory) is implementing the internal SPI eventsListener. This SPI is internal and may change without notice
2024-07-02 14:41:49,378 INFO [io.qua.dep.QuarkusAugmentor] (main) Quarkus augmentation completed in 2786ms
Server configuration updated and persisted. Run the following command to review the configuration:
kc.sh show-config
bash-5.1$ /opt/keycloak/bin/kc.sh show-config
Current Mode: production
Current Configuration:
kc.config.built = true (SysPropConfigSource)
kc.db = dev-file (Persisted)
kc.log-console-output = default (classpath keycloak.conf)
kc.optimized = true (Persisted)
kc.provider.file.keycloak-scim-1.0-SNAPSHOT-all.jar.last-modified = 1719927878000 (Persisted)
kc.run.in.container = true (ENV)
kc.version = 25.0.1 (SysPropConfigSource)
Thanks for checking it out @shaidar - I'll experiment a bit more to see if I can figure out why it's not working and report back if I can find a solution. Let me know if you have any ideas for things I can try that may be different on my system compared to yours.
I can run /opt/keycloak/bin/kc.sh build
fine if I move keycloak-scim-1.0-SNAPSHOT-all.jar
out of the /opt/keycloak/providers/
directory and then running /opt/keycloak/bin/kc.sh show-config
gives me (note I tested it with Keycloak 24.0.2 this time):
bash-5.1$ bin/kc.sh show-config
Current Mode: production
Current Configuration:
kc.config.built = true (SysPropConfigSource)
kc.db = dev-file (PersistedConfigSource)
kc.log-console-output = default (PropertiesConfigSource[source=jar:file:///opt/keycloak/lib/lib/main/org.keycloak.keycloak-quarkus-server-24.0.2.jar!/META-INF/keycloak.conf])
kc.log-file = ${kc.home.dir:default}${file.separator}data${file.separator}log${file.separator}keycloak.log (PropertiesConfigSource[source=jar:file:///opt/keycloak/lib/lib/main/org.keycloak.keycloak-quarkus-server-24.0.2.jar!/META-INF/keycloak.conf])
kc.optimized = true (PersistedConfigSource)
kc.run.in.container = true (KcEnvVarConfigSource)
kc.version = 24.0.2 (SysPropConfigSource)
I'm wanting to test out this extension for a proof-of-concept, but am running in to an error when trying to install it with the quick installation steps. Please let me know if you think I'm missing anything in the steps I'm following
Expected Behavior
I would expect the steps I'm following to install
keycloak-scim
and make the functionality available in a local dev environment of Keycloak.Current Behavior
Instead I am seeing the following error (note this is the end of it but the full output is very long):
Steps to Reproduce
docker run -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:25.0.1 start-dev
docker ps
to get ID of container - eg:50e04c077e09
keycloak-scim-1.0-SNAPSHOT-all.jar
docker cp ~/Downloads/keycloak-scim-1.0-SNAPSHOT-all.jar 50e04c077e09:/opt/keycloak/providers/.
docker exec -it 50e04c077e09 bash
/opt/keycloak/bin/kc.sh build