Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Keycloak & Cloudron

Keycloak & Cloudron

Scheduled Pinned Locked Moved Discuss
105 Posts 15 Posters 25.4k Views 17 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • girishG girish

      Strange there is no app request for keycloak. @Sam_uk do you think you can open an app request topic ?

      marcusquinnM Offline
      marcusquinnM Offline
      marcusquinn
      wrote on last edited by
      #19

      @girish Or move this one? It seems to have all the useful links in so far.

      Web Design https://www.evergreen.je
      Development https://brandlight.org
      Life https://marcusquinn.com

      1 Reply Last reply
      2
      • girishG girish

        Strange there is no app request for keycloak. @Sam_uk do you think you can open an app request topic ?

        Sam_ukS Offline
        Sam_ukS Offline
        Sam_uk
        wrote on last edited by
        #20

        @girish I'm tempted not to.

        I think my position is that Authentik is the better app, which would provide everything that Keycloak does.

        girishG 1 Reply Last reply
        5
        • Sam_ukS Sam_uk

          @girish I'm tempted not to.

          I think my position is that Authentik is the better app, which would provide everything that Keycloak does.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #21

          @Sam_uk ah ok, I upvoted that one 😉

          1 Reply Last reply
          1
          • girishG girish

            @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.

            njN Offline
            njN Offline
            nj
            wrote on last edited by
            #22

            @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.

            https://github.com/njsubedi/cloudron-keycloak

            Founder / Coder • My Apps

            Sam_ukS girishG timconsidineT 3 Replies Last reply
            9
            • njN nj

              @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.

              https://github.com/njsubedi/cloudron-keycloak

              Sam_ukS Offline
              Sam_ukS Offline
              Sam_uk
              wrote on last edited by
              #23

              @nj Great stuff, thanks I'll have a go at installing it sometime this week.

              1 Reply Last reply
              2
              • njN nj

                @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.

                https://github.com/njsubedi/cloudron-keycloak

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #24

                @nj thanks! this is awesome, added to our list of packages to push out.

                Sam_ukS marcusquinnM 2 Replies Last reply
                4
                • girishG girish

                  @nj thanks! this is awesome, added to our list of packages to push out.

                  Sam_ukS Offline
                  Sam_ukS Offline
                  Sam_uk
                  wrote on last edited by
                  #25

                  @girish

                  Just to update https://github.com/njsubedi/cloudron-keycloak seems to be working well so far.

                  Configured Nextcloud, Humhub & Rocketchat to use it.

                  1 Reply Last reply
                  5
                  • girishG girish

                    @nj thanks! this is awesome, added to our list of packages to push out.

                    marcusquinnM Offline
                    marcusquinnM Offline
                    marcusquinn
                    wrote on last edited by
                    #26

                    @girish @nebulon Maybe it makes sense to consider making this an add-on app and option to enable for apps that can support it. Very valuable to us, and could look at helping with sponsorship if that motivates.

                    Web Design https://www.evergreen.je
                    Development https://brandlight.org
                    Life https://marcusquinn.com

                    1 Reply Last reply
                    4
                    • njN Offline
                      njN Offline
                      nj
                      wrote on last edited by
                      #27

                      Update available: Keycloak 7.0.1

                      Founder / Coder • My Apps

                      Sam_ukS 1 Reply Last reply
                      3
                      • J jk referenced this topic on
                      • njN nj

                        Update available: Keycloak 7.0.1

                        Sam_ukS Offline
                        Sam_ukS Offline
                        Sam_uk
                        wrote on last edited by
                        #28

                        @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?

                        1 Reply Last reply
                        2
                        • njN nj

                          @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.

                          https://github.com/njsubedi/cloudron-keycloak

                          timconsidineT Offline
                          timconsidineT Offline
                          timconsidine
                          App Dev
                          wrote on last edited by
                          #29

                          @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 ?
                          1 Reply Last reply
                          3
                          • njN Offline
                            njN Offline
                            nj
                            wrote on last edited by
                            #30

                            Update available for Keycloak 18.0.0. Up and running without issues for a while.

                            https://github.com/njsubedi/cloudron-keycloak

                            cd732a50-7c98-4216-8c6d-cc7ead482064-image.png

                            Founder / Coder • My Apps

                            1 Reply Last reply
                            3
                            • njN Offline
                              njN Offline
                              nj
                              wrote on last edited by
                              #31

                              Update available v18.0.1

                              Founder / Coder • My Apps

                              1 Reply Last reply
                              2
                              • njN Offline
                                njN Offline
                                nj
                                wrote on last edited by
                                #32

                                Update available 18.0.2

                                Founder / Coder • My Apps

                                1 Reply Last reply
                                4
                                • njN Offline
                                  njN Offline
                                  nj
                                  wrote on last edited by
                                  #33

                                  Update available v19.0.1

                                  Founder / Coder • My Apps

                                  1 Reply Last reply
                                  2
                                  • jdaviescoatesJ Offline
                                    jdaviescoatesJ Offline
                                    jdaviescoates
                                    wrote on last edited by
                                    #34

                                    @staff we should get this in the app store, no?

                                    I use Cloudron with Gandi & Hetzner

                                    BrutalBirdieB 1 Reply Last reply
                                    2
                                    • jdaviescoatesJ jdaviescoates

                                      @staff we should get this in the app store, no?

                                      BrutalBirdieB Offline
                                      BrutalBirdieB Offline
                                      BrutalBirdie
                                      Partner
                                      wrote on last edited by BrutalBirdie
                                      #35

                                      @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
                                      

                                      log:
                                      https://paste.cloudron.dev/hemoxaroni.log

                                      Like my work? Consider donating a drink. Cheers!

                                      njN 1 Reply Last reply
                                      2
                                      • BrutalBirdieB 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
                                        

                                        log:
                                        https://paste.cloudron.dev/hemoxaroni.log

                                        njN Offline
                                        njN Offline
                                        nj
                                        wrote on last edited by nj
                                        #36

                                        @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 run kc.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 where CLOUDRON_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 set optionalSso=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

                                        Founder / Coder • My Apps

                                        BrutalBirdieB 1 Reply Last reply
                                        4
                                        • njN 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 --optimized to start Keycloak. Otherwise it would try to run kc.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 where CLOUDRON_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 set optionalSso=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

                                          BrutalBirdieB Offline
                                          BrutalBirdieB Offline
                                          BrutalBirdie
                                          Partner
                                          wrote on last edited by
                                          #37

                                          @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.

                                          Like my work? Consider donating a drink. Cheers!

                                          njN 1 Reply Last reply
                                          1
                                          • BrutalBirdieB BrutalBirdie

                                            @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.

                                            njN Offline
                                            njN Offline
                                            nj
                                            wrote on last edited by
                                            #38

                                            @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.

                                            Founder / Coder • My Apps

                                            BrutalBirdieB 1 Reply Last reply
                                            1
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes


                                              • Login

                                              • Don't have an account? Register

                                              • Login or register to search.
                                              • First post
                                                Last post
                                              0
                                              • Categories
                                              • Recent
                                              • Tags
                                              • Popular
                                              • Bookmarks
                                              • Search