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 28.8k 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

    @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
                • C Offline
                  C Offline
                  cuzy-app
                  wrote on last edited by
                  #44

                  Thanks @nj !
                  +1 for the App Store!

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

                    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.

                    Founder / Coder • My Apps

                    C 1 Reply Last reply
                    6
                    • njN nj

                      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.

                      C Offline
                      C Offline
                      cuzy-app
                      wrote on last edited by
                      #46

                      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

                      J 1 Reply Last reply
                      1
                      • C cuzy-app

                        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

                        J Offline
                        J Offline
                        jayonrails
                        translator
                        wrote on last edited by
                        #47

                        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

                        BrutalBirdieB 1 Reply Last reply
                        1
                        • J jayonrails

                          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

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

                          I could build, install and use the https://github.com/njsubedi/cloudron-keycloak master branch with no problems.

                          Like my work? Consider donating a drink. Cheers!

                          girishG 1 Reply Last reply
                          4
                          • BrutalBirdieB BrutalBirdie

                            I could build, install and use the https://github.com/njsubedi/cloudron-keycloak master branch with no problems.

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

                            @BrutalBirdie thanks for testing, will prioritize getting this published.

                            Sam_ukS 2 Replies Last reply
                            4
                            • girishG girish

                              @BrutalBirdie thanks for testing, will prioritize getting this published.

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

                              @girish Great stuff! We're a bit stuck on this one at the moment: https://github.com/njsubedi/cloudron-keycloak/issues/7#issuecomment-1384001649

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

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

                                Any updates on this one please?

                                luckowL 1 Reply Last reply
                                1
                                • Sam_ukS Sam_uk

                                  Any updates on this one please?

                                  luckowL Offline
                                  luckowL Offline
                                  luckow
                                  translator
                                  wrote on last edited by
                                  #52

                                  @Sam_uk besides Keycloak - have you tried the new OpenID Connect Provider feature in Cloudron v. 7.4?

                                  Pronouns: he/him | Primary language: German

                                  C 1 Reply Last reply
                                  2
                                  • luckowL luckow

                                    @Sam_uk besides Keycloak - have you tried the new OpenID Connect Provider feature in Cloudron v. 7.4?

                                    C Offline
                                    C Offline
                                    cuzy-app
                                    wrote on last edited by cuzy-app
                                    #53

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

                                    1 Reply Last reply
                                    4
                                    • girishG girish

                                      @BrutalBirdie thanks for testing, will prioritize getting this published.

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

                                      @girish When do you think you might be able to have a look at this one please?

                                      nebulonN 1 Reply Last reply
                                      1
                                      • Sam_ukS Sam_uk

                                        @girish When do you think you might be able to have a look at this one please?

                                        nebulonN Offline
                                        nebulonN Offline
                                        nebulon
                                        Staff
                                        wrote on last edited by
                                        #55

                                        @Sam_uk while this is not exactly keycloak, have you seen https://docs.cloudron.io/user-management/#openid-connect ? Does this help in your case? So far in our testing with various apps, we are quite positive that this is a very feature.

                                        C 1 Reply Last reply
                                        2
                                        • nebulonN nebulon

                                          @Sam_uk while this is not exactly keycloak, have you seen https://docs.cloudron.io/user-management/#openid-connect ? Does this help in your case? So far in our testing with various apps, we are quite positive that this is a very feature.

                                          C Offline
                                          C Offline
                                          cuzy-app
                                          wrote on last edited by
                                          #56

                                          @nebulon Yes, thanks.

                                          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.

                                          Sam_ukS 1 Reply Last reply
                                          2
                                          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