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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    HTTP Authentication for Kuma

    Uptime Kuma
    6
    9
    411
    Loading More Posts
    • 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.
    • F
      fiwand last edited by fiwand

      Kuma only supports a single admin user account, but provides two features for team/public access:

      • the ability to create a public dashboard
      • the option to completely disable Kuma's authentication

      We'd like to use the public dashboard feature as an internal dashboard, but cannot currently do so because our Cloudron instance is public-facing.

      Is there a way to add an optional HTTP authentication layer to the Kuma Cloudron app? A single set of credentials would be perfectly fine for our use case, but we're also OK if other authentication requirements, like being a cloudron user, would make an integration easier or more versatile. We also don't need the authentication to only target specific paths.

      Thanks!

      robi 1 Reply Last reply Reply Quote 1
      • robi
        robi @fiwand last edited by

        @fiwand Check to see if Kuma uses Apache and manually modify the .htaccess file.

        Life of Advanced Technology

        fbartels 1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels App Dev @robi last edited by

          @robi it doen't btw https://git.cloudron.io/cloudron/uptime-kuma-app/-/blob/master/start.sh

          Maybe one can mod the app to use https://docs.cloudron.io/packaging/addons/#proxyauth.

          robi 1 Reply Last reply Reply Quote 2
          • robi
            robi @fbartels last edited by

            @fbartels or a separate custom nginx config for the kuma subdomain that does it in addition to the default route.

            Life of Advanced Technology

            1 Reply Last reply Reply Quote 0
            • W
              wind.gmbh last edited by

              This is probably related to a feature request I have made a couple of weeks ago:

              1 Reply Last reply Reply Quote 1
              • girish
                girish Staff last edited by

                I think we have to implement some app level access level control as @wind-gmbh suggested.

                robi 1 Reply Last reply Reply Quote 2
                • robi
                  robi @girish last edited by

                  @girish said in HTTP Authentication for Kuma:

                  I think we have to implement some app level access level control as @wind-gmbh suggested.

                  Agreed, a general Cloudron LDAP + unique pw for different occasions changeable in the UI, per app would be very useful.

                  Life of Advanced Technology

                  1 Reply Last reply Reply Quote 0
                  • matbrgz
                    matbrgz last edited by

                    Hey, take a look at https://github.com/louislam/uptime-kuma/issues/1756#issuecomment-1158597816 they use HTTP Authentication.

                    Currently, is there any solution for it?

                    girish 1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff @matbrgz last edited by

                      @matbrgz I think that ends up protected all of uptime kuma and not just the status page . But of course, one can always tinker the configs in such a way that only specific pages are protected (one has to also investigate protecting API requests to the backend etc). I think this has to be implemented in uptime kuma itself to be fixed reliably.

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      Powered by NodeBB