Keycloak & Cloudron
-
@nj && @jdaviescoates
I just tested the app but ended up with an error state.# Clone the repo git clone https://github.com/njsubedi/cloudron-keycloak.git; cd cloudron-keycloak # build the app cloudron build --set-repository dr.cloudron.dev/$(jq -r .id < CloudronManifest.json) --tag $(jq -r .version < CloudronManifest.json) # Install the app cloudron install -l keycloak.cloudron.dev
-
@BrutalBirdie It seems the problem only occurs in new installation. Since I've always been updating from previous versions, the error didn't show up. I'm fixing it now; and will update you when done.
Issue: Starting v19.0, Keycloak would require
kc.sh --optimized
to start Keycloak. Otherwise it would try to runkc.sh build
before starting. That resulted in failure in the readonly system.Issue 2: I had set
optionalSso=true
but that lead to another issue whereCLOUDRON_LDAP_URL
variable would be unbound when installed from CLI. I don't think this was the default behaviour when I first packaged Cloudron. Anyway, I have setoptionalSso=false
just in case Cloudron's default changes again.The package should build and install correctly. PS: I'll start testing on fresh installs from next releases, so it should not repeat again.
https://github.com/njsubedi/cloudron-keycloak/releases/tag/v19.0.1-patch2
-
@nj lgtm - Install checks out OK.
Now there are tests missing for the app.
If I create the tests they will be rudimentary and will not cover much of the functionality of the app it self.@nj could you also write the tests?
If you need support regarding the tests I can point you in the right directions. -
@BrutalBirdie do you mean the Cloudron's usual tests to see if the app installs, backs up and restores correctly? If so I don't think I'll do that because you guys better know how to do that.
-
Hi,
seems like I have a similar issue. Maybe someone can help? I am not able to build the Keycloak package.
See my issue report on GitHub: https://github.com/njsubedi/cloudron-keycloak/issues/8
Best
Jay -
I could build, install and use the https://github.com/njsubedi/cloudron-keycloak master branch with no problems.
-
@BrutalBirdie thanks for testing, will prioritize getting this published.
-
@luckow Thanks, this is a great news!
However, this solution is not possible for us because we use modules in some apps that synchronizes groups and roles with Keycloak.
And it would be too much work to migrate all or ecosystem to another SSO.
Moreover, users would need to recreate their password.