Keycloak & Cloudron
@Sam_uk ah ok, I upvoted that one
@girish Please check this out. I previously packaged Keycloak but suddenly the Keycloak team decided to deprecate the Wildfly version and started supporting Quarkus runtime. So I had to re-package it again. Took a while during the weekdays.
@nj Great stuff, thanks I'll have a go at installing it sometime this week.
@nj thanks! this is awesome, added to our list of packages to push out.
Just to update https://github.com/njsubedi/cloudron-keycloak seems to be working well so far.
Configured Nextcloud, Humhub & Rocketchat to use it.
marcusquinn last edited by
Update available: Keycloak 7.0.1
@nj I've run into an issue with using custom themes on Keycloak: https://github.com/njsubedi/cloudron-keycloak/issues/5
Does this seem to be specific to a Cloudron install? It works on a more conventional install for us.
Can anyone suggest how to troubleshoot or fix?
timconsidine App Dev last edited by
@nj awesome ! thank you !
I just installed it as a custom app. Looks great. BUT ...
I haven't a scoobies how to use it !
There's far too many words on their website, and far too many options in the app.
2 questions :
- the sync of Cloudron users does not seem to complete, although app says completed.
- how do I add an app to be protected by Keycloak ?
Update available for Keycloak 18.0.0. Up and running without issues for a while.
Update available v18.0.1
Update available 18.0.2
Update available v19.0.1
jdaviescoates last edited by
@staff we should get this in the app store, no?
BrutalBirdie Staff last edited by BrutalBirdie
@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
nj last edited by nj
@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 --optimizedto start Keycloak. Otherwise it would try to run
kc.sh buildbefore starting. That resulted in failure in the readonly system.
Issue 2: I had set
optionalSso=truebut that lead to another issue where
CLOUDRON_LDAP_URLvariable would be unbound when installed from CLI. I don't think this was the default behaviour when I first packaged Cloudron. Anyway, I have set
optionalSso=falsejust 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.
@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.
My next free week is in around 2/3 Weeks
The basic tests you could just copy paste from any other app.
But when I got the time again I will tackle this task.
Is anyone working on the tests for this?
What do the tests need to do?
Do you know when you'll have time to look at this?
There is an update to v20.0.2.
jdaviescoates last edited by
Thanks @nj !
+1 for the App Store!
There is an update to the latest Keycloak version at v20.0.3. I recommed this update because of many bugfixes in the upstream repo.
New Feauture in this package: Support for Mail FROM Address.
Thanks @nj for this great update!
Has anyone managed to update?
I'm stuck with this issue: https://github.com/njsubedi/cloudron-keycloak/issues/7
jayonrails translator last edited by
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
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.
Sam_uk last edited by Sam_uk
@girish Great stuff! We're a bit stuck on this one at the moment: https://github.com/njsubedi/cloudron-keycloak/issues/7#issuecomment-1384001649