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. I am missing (real) SSO

I am missing (real) SSO

Scheduled Pinned Locked Moved Discuss
sso
13 Posts 9 Posters 2.0k Views 9 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.
  • fbartelsF Offline
    fbartelsF Offline
    fbartels
    App Dev
    wrote on last edited by
    #4

    Since all apps are running within containers there is a reverse proxy (Nginx) running that facilitates access to these apps. While it is currently not possible to configure this through the Cloudron UI (and manual modifications will likely be overwritten) I think it could be a good idea to have options to add ip access restrictions to apps and optionally also do sso on the webserver (nginx running on cloudron, not in the app) level.

    Something like https://github.com/vouch/vouch-proxy/ could then do the oauth part towards the cloudron user management.

    1 Reply Last reply
    3
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #5

      We started out with wanting OAuth across apps (and is what we implemented). Sadly, we failed because most apps don't support this very well. I try to use the term 'Central user management' when possible to describe Cloudron's situation but maybe there are places in the docs that needs to be fixed. I will do a quick check and fix them up.

      1 Reply Last reply
      2
      • W Offline
        W Offline
        will
        wrote on last edited by
        #6

        @girish So the driver for a lot of this "sso/app auth proxy" thinking comes from the Zero Trust model, its where every app is assumed to be exposed to the internet, and unified SSO controlls access, as opposed to have to VPN into a network to access a set of apps. Mostly outside the scope of Cloudron, but SSO being an app access broker is very much where things are going with places like Okta and Google and such.
        Its a cool next level security concept.

        Some reading:
        https://beyondcorp.com/

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #7

          @will I would love true SSO as well but save a few apps most apps are not ready yet (meaning, there is no code for OAuth or OpenID integration in those apps). Someday, we (Cloudron) hope to get to a point where can sponsor development of those authentication backends in each app.

          1 Reply Last reply
          4
          • C cruftex

            Hi all,

            I am vary excited to see what cloudron has achieved so far. Almost every app that runs within our internal infrastructure is available at cloudron. Switching to cloudron would mean a big relief for us.

            Key things that I miss in clourdron:

            • real SSO, meaning not only shared user credentials but only a single sign on is needed to access all apps
            • an option that makes an app only available to authenticated users, that is separate from the app itself. This is for security reasons, so an app is not exposed to the public internet. Practically, that means that all traffic needs to run through a proxy
            • With the above it becomes possible to do things like 2FA more easily and consistent

            At the current state it is not possible to fulfill security best practices that become a requirement at many companies now.

            That wish needs a lot of basic architectural changes, so I don't expect that this comes fast.

            In the meantime please clarify SSO in the docs. Better say clearly that you don't have SSO yet and that it is a shared user database and single credential login.

            F Offline
            F Offline
            fair
            wrote on last edited by
            #8

            @cruftex

            I would also love to see this, even if it's just with some apps. I have very confused users who don't understand that they have to login everytime, but the password is synchronized. One pattern I've seen is for instance:

            Forgot password for nextcloud, reset password. Oh, my rocketchat password doesn't work anymore, reset password. oh, my nextcloud password doesn't work anymore, reset password. Resulting in frustration and people not using the apps. With cloudron it's easy to install the applications, but now it becomes hard on the users 😞

            T 1 Reply Last reply
            1
            • F fair

              @cruftex

              I would also love to see this, even if it's just with some apps. I have very confused users who don't understand that they have to login everytime, but the password is synchronized. One pattern I've seen is for instance:

              Forgot password for nextcloud, reset password. Oh, my rocketchat password doesn't work anymore, reset password. oh, my nextcloud password doesn't work anymore, reset password. Resulting in frustration and people not using the apps. With cloudron it's easy to install the applications, but now it becomes hard on the users 😞

              T Online
              T Online
              thetomester13
              App Dev
              wrote on last edited by
              #9

              @fair I was also thinking about this problem recently... the best thing I could come up in the short term and one that doesn't go 'out of the user's flow' too much is to simply use the Bitwarden browser plugin and there's an option in Settings -> Options to 'Enable Auto-fill On Page Load'. It won't log the user in automatically, but it will prefill the login form with the user's credentials on pages when it has something saved, leaving the user to simply hit 'Login'. Not sure how it handles sites with 2FA yet, I just enabled this myself the other day...

              Unfortunately, without a browser plugin (that already has access to user's credentials, hence, Bitwarden) or without apps supporting something like OAuth or OpenID or SAML (requires individual development for each app), I don't know that this is possible.

              jdaviescoatesJ 1 Reply Last reply
              1
              • T thetomester13

                @fair I was also thinking about this problem recently... the best thing I could come up in the short term and one that doesn't go 'out of the user's flow' too much is to simply use the Bitwarden browser plugin and there's an option in Settings -> Options to 'Enable Auto-fill On Page Load'. It won't log the user in automatically, but it will prefill the login form with the user's credentials on pages when it has something saved, leaving the user to simply hit 'Login'. Not sure how it handles sites with 2FA yet, I just enabled this myself the other day...

                Unfortunately, without a browser plugin (that already has access to user's credentials, hence, Bitwarden) or without apps supporting something like OAuth or OpenID or SAML (requires individual development for each app), I don't know that this is possible.

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

                @thetomester13

                Perhaps Keycloak?

                @jdaviescoates said in OAuth support:

                I note that the lovely people at Indiehosters (all in French) have launched a new service called Liiibre which by default is a nicely integrated Nextcloud, OnlyOffice, Rocket.Chat, and Jitsi Meet.

                And I read over on the Meet.coop forum that they are using Keycloak to power their SSO stuff, so that might be worth exploring.

                Here is the relevant thread for info:
                https://forum.meet.coop/t/hi-from-indiehosters-onboarding-process/343?u=jdaviescoates

                But see especially this post:
                https://forum.meet.coop/t/hi-from-indiehosters-onboarding-process/343/8?u=jdaviescoates

                Edit: and looking back up the thread I see Keycloak has already been proposed/ discussed above too.

                I use Cloudron with Gandi & Hetzner

                T 1 Reply Last reply
                0
                • marcusquinnM Offline
                  marcusquinnM Offline
                  marcusquinn
                  wrote on last edited by
                  #11

                  I suggested a solution that would work with what we already have here: https://forum.cloudron.io/topic/3285/2fa-for-all-ldap-apps/8?_=1607516708492

                  It's not SSO but the next best things with what's already available and wouldn't rely on any Apps supporting it as it would work with any kind of login method.

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

                  1 Reply Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    @thetomester13

                    Perhaps Keycloak?

                    @jdaviescoates said in OAuth support:

                    I note that the lovely people at Indiehosters (all in French) have launched a new service called Liiibre which by default is a nicely integrated Nextcloud, OnlyOffice, Rocket.Chat, and Jitsi Meet.

                    And I read over on the Meet.coop forum that they are using Keycloak to power their SSO stuff, so that might be worth exploring.

                    Here is the relevant thread for info:
                    https://forum.meet.coop/t/hi-from-indiehosters-onboarding-process/343?u=jdaviescoates

                    But see especially this post:
                    https://forum.meet.coop/t/hi-from-indiehosters-onboarding-process/343/8?u=jdaviescoates

                    Edit: and looking back up the thread I see Keycloak has already been proposed/ discussed above too.

                    T Online
                    T Online
                    thetomester13
                    App Dev
                    wrote on last edited by
                    #12

                    @jdaviescoates I took a quick look at some video tutorials, but I didn't see how Keycloak would be able to log the user into other applications without having said application specifically implementing the Keycloak integration.

                    @marcusquinn this is quite interesting, and definitely a way to go about this. Did you go through with this? Has it worked? One issue I see is that Bitwarden won't actually submit a login form for users, it will simply input the login credentials to the forms (unless I'm missing something?). Also, how are you automatically having Bitwarden do these actions on your behalf?

                    jdaviescoatesJ 1 Reply Last reply
                    1
                    • T thetomester13

                      @jdaviescoates I took a quick look at some video tutorials, but I didn't see how Keycloak would be able to log the user into other applications without having said application specifically implementing the Keycloak integration.

                      @marcusquinn this is quite interesting, and definitely a way to go about this. Did you go through with this? Has it worked? One issue I see is that Bitwarden won't actually submit a login form for users, it will simply input the login credentials to the forms (unless I'm missing something?). Also, how are you automatically having Bitwarden do these actions on your behalf?

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

                      @thetomester13 said in I am missing (real) SSO:

                      @jdaviescoates I took a quick look at some video tutorials, but I didn't see how Keycloak would be able to log the user into other applications without having said application specifically implementing the Keycloak integration.

                      You've already looked into it more than me. I guess Indiehosters have implemented Keycloak integration into the apps they've integrated in their Liiibre service (perhaps they maintain forks or something, or have contributed upstream).

                      I use Cloudron with Gandi & Hetzner

                      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