Keycloak & Cloudron
- 
Strange there is no app request for keycloak. @Sam_uk do you think you can open an app request topic ? @girish Or move this one? It seems to have all the useful links in so far. 
- 
Strange there is no app request for keycloak. @Sam_uk do you think you can open an app request topic ? 
- 
@girish I'm tempted not to. I think my position is that Authentik is the better app, which would provide everything that Keycloak does. 
- 
@nj Yes, we can get them published as time permits! If you post the links to the repos when they are sort of ready, we can take it from there. @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. 
- 
@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. 
- 
@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. 
- 
J jk referenced this topic on
- 
@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? 
- 
@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 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. https://github.com/njsubedi/cloudron-keycloak  
- 
@staff we should get this in the app store, no? 
- 
@staff we should get this in the app store, no? @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 && @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 --optimizedto start Keycloak. Otherwise it would try to runkc.sh buildbefore starting. That resulted in failure in the readonly system.Issue 2: I had set optionalSso=truebut that lead to another issue whereCLOUDRON_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 setoptionalSso=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. https://github.com/njsubedi/cloudron-keycloak/releases/tag/v19.0.1-patch2 
- 
@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 runkc.sh buildbefore starting. That resulted in failure in the readonly system.Issue 2: I had set optionalSso=truebut that lead to another issue whereCLOUDRON_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 setoptionalSso=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. 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.
- 
@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. 
 







