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. Listmonk
  3. Authentication Configuration

Authentication Configuration

Scheduled Pinned Locked Moved Solved Listmonk
14 Posts 7 Posters 961 Views 7 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.
  • K Offline
    K Offline
    kahrpatrick
    wrote on last edited by
    #1

    The following warning is shown in listmonk after the upgrade to 1.8.0.:

    Remove the admin_username and admin_password fields from the TOML configuration file or environment variables. If you are using APIs, create and use new API credentials before removing the them. Visit Admin -> Settings -> Users dashboard. Learn more.
    

    You mention OpenID integration in the changelog, do I need to configure this manually on an existing instance?

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Unfortunately there is no smooth upgrade path from an app installed without user directory integration to start using it. Mostly this is because the user-mappings are hard to do in an automated way.

      Currently, the only option is to install a fresh app instance with Cloudron user management and then migrate the data (database export/import...) and potentially do the user-mapping manually.

      andreasduerenA 1 Reply Last reply
      0
      • K Offline
        K Offline
        kahrpatrick
        wrote on last edited by
        #3

        Alright, thank you for the explanation. I'll reinstall the app then.

        1 Reply Last reply
        0
        • K kahrpatrick has marked this topic as solved on
        • nebulonN nebulon

          Unfortunately there is no smooth upgrade path from an app installed without user directory integration to start using it. Mostly this is because the user-mappings are hard to do in an automated way.

          Currently, the only option is to install a fresh app instance with Cloudron user management and then migrate the data (database export/import...) and potentially do the user-mapping manually.

          andreasduerenA Offline
          andreasduerenA Offline
          andreasdueren
          wrote on last edited by
          #4

          @nebulon I just spun up a new installation but OICD doesn't work. Says User not found

          fbartelsF 1 Reply Last reply
          0
          • andreasduerenA andreasdueren

            @nebulon I just spun up a new installation but OICD doesn't work. Says User not found

            fbartelsF Offline
            fbartelsF Offline
            fbartels
            App Dev
            wrote on last edited by
            #5

            @andreasdueren i don't know if this is the only way, but when I encountered this error message i manually created a user with the same username as my cloudron user. Afterwards i could use oidc for login.

            andreasduerenA 1 Reply Last reply
            3
            • fbartelsF fbartels

              @andreasdueren i don't know if this is the only way, but when I encountered this error message i manually created a user with the same username as my cloudron user. Afterwards i could use oidc for login.

              andreasduerenA Offline
              andreasduerenA Offline
              andreasdueren
              wrote on last edited by
              #6

              @fbartels That's a workaround I'd like to avoid and have people onboard automatically instead

              1 Reply Last reply
              1
              • J Offline
                J Offline
                joseph
                Staff
                wrote on last edited by
                #7

                @andreasdueren https://github.com/knadh/listmonk/issues/2119 . Listmonk does not have automatic user creation yet.

                andreasduerenA 1 Reply Last reply
                2
                • J joseph

                  @andreasdueren https://github.com/knadh/listmonk/issues/2119 . Listmonk does not have automatic user creation yet.

                  andreasduerenA Offline
                  andreasduerenA Offline
                  andreasdueren
                  wrote on last edited by
                  #8

                  @Joseph Oh I see it's an upstream issue. Apologies I thought there was something wrong with the current implementation.

                  1 Reply Last reply
                  0
                  • avatar1024A Offline
                    avatar1024A Offline
                    avatar1024
                    wrote on last edited by
                    #9

                    Anyone know if there is there a way to customize the OIDC login button for Listmonk? Currently for me it says "Login with .org.uk" instead of my domain or organisation name which is rather unhelpful. Thanks!

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      joseph
                      Staff
                      wrote on last edited by
                      #10

                      @avatar1024 We reported this upstream at https://github.com/knadh/listmonk/issues/2211 . But the issue is that listmonk wants to just to take two dots before the URL . https://github.com/knadh/listmonk/blob/master/cmd/auth.go#L213 "Get the last two h for the root domain" .

                      Unfortunately, I think nothing can be done without fixing the code upstream.

                      jdaviescoatesJ 1 Reply Last reply
                      2
                      • J joseph

                        @avatar1024 We reported this upstream at https://github.com/knadh/listmonk/issues/2211 . But the issue is that listmonk wants to just to take two dots before the URL . https://github.com/knadh/listmonk/blob/master/cmd/auth.go#L213 "Get the last two h for the root domain" .

                        Unfortunately, I think nothing can be done without fixing the code upstream.

                        jdaviescoatesJ Online
                        jdaviescoatesJ Online
                        jdaviescoates
                        wrote on last edited by
                        #11

                        @joseph said in Authentication Configuration:

                        But the issue is that listmonk wants to just to take two dots before the URL . https://github.com/knadh/listmonk/blob/master/cmd/auth.go#L213 "Get the last two h for the root domain" .

                        Unfortunately, I think nothing can be done without fixing the code upstream.

                        Given there are loads of TLD with .something.something that is a bizarre bit of code and is clearly a bug too, is there already an issue for that one as well?

                        I use Cloudron with Gandi & Hetzner

                        J 1 Reply Last reply
                        0
                        • jdaviescoatesJ jdaviescoates

                          @joseph said in Authentication Configuration:

                          But the issue is that listmonk wants to just to take two dots before the URL . https://github.com/knadh/listmonk/blob/master/cmd/auth.go#L213 "Get the last two h for the root domain" .

                          Unfortunately, I think nothing can be done without fixing the code upstream.

                          Given there are loads of TLD with .something.something that is a bizarre bit of code and is clearly a bug too, is there already an issue for that one as well?

                          J Offline
                          J Offline
                          joseph
                          Staff
                          wrote on last edited by
                          #12

                          @jdaviescoates oidc feature was fairly new , but I didn't find a issue about this specific issue.

                          jdaviescoatesJ 1 Reply Last reply
                          1
                          • J joseph

                            @jdaviescoates oidc feature was fairly new , but I didn't find a issue about this specific issue.

                            jdaviescoatesJ Online
                            jdaviescoatesJ Online
                            jdaviescoates
                            wrote on last edited by
                            #13

                            @joseph I've just commented on that existing issue for now https://github.com/knadh/listmonk/issues/2211#issuecomment-2751989442

                            I use Cloudron with Gandi & Hetzner

                            jdaviescoatesJ 1 Reply Last reply
                            2
                            • jdaviescoatesJ jdaviescoates

                              @joseph I've just commented on that existing issue for now https://github.com/knadh/listmonk/issues/2211#issuecomment-2751989442

                              jdaviescoatesJ Online
                              jdaviescoatesJ Online
                              jdaviescoates
                              wrote on last edited by jdaviescoates
                              #14

                              And they've replied:

                              Indeed. That's a glaring brain-fart on my part for sure. We can add a provision to specify a custom label for the OIDC provider button in the upcoming release.

                              🙂

                              I use Cloudron with Gandi & Hetzner

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