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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Keycloak & Cloudron

Keycloak & Cloudron

Scheduled Pinned Locked Moved Discuss
105 Posts 15 Posters 66.7k 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.
  • 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 & Development: https://www.evergreen.je
        Technology & Apps: https://www.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 ?

              Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

              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
                                • njN nj

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

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

                                  @nj
                                  Okay. 👍
                                  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.

                                  Like my work? Consider donating a drink. Cheers!

                                  1 Reply Last reply
                                  5
                                  • Sam_ukS Offline
                                    Sam_ukS Offline
                                    Sam_uk
                                    wrote on last edited by
                                    #40

                                    Is anyone working on the tests for this?

                                    What do the tests need to do?

                                    Sam_ukS 1 Reply Last reply
                                    1
                                    • Sam_ukS Sam_uk

                                      Is anyone working on the tests for this?

                                      What do the tests need to do?

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

                                      @Sam_uk @BrutalBirdie

                                      Do you know when you'll have time to look at this?

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

                                        There is an update to v20.0.2.

                                        Founder / Coder • My Apps

                                        jdaviescoatesJ 1 Reply Last reply
                                        3
                                        • njN nj

                                          There is an update to v20.0.2.

                                          jdaviescoatesJ Offline
                                          jdaviescoatesJ Offline
                                          jdaviescoates
                                          wrote on last edited by
                                          #43

                                          @nj thanks!

                                          @staff be great of all these apps @nj has packaged could find themselves into the App Store! 🙏

                                          I use Cloudron with Gandi & Hetzner

                                          1 Reply Last reply
                                          3

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          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