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. Cal.com
  3. SSO / OIDC ?

SSO / OIDC ?

Scheduled Pinned Locked Moved Cal.com
8 Posts 5 Posters 1.6k Views 5 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.
  • C Offline
    C Offline
    cloud9ron
    wrote on last edited by
    #1

    I see mention of both SSO & OIDC in the upstream docker image changelog, is this something that might be explored? This would be a big win for us and might sell us on the platform.

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

      Looks like there is some kind of support at least for okta https://cal.com/docs/how-to-guides/how-to-setup-oidc-with-okta

      Not quite sure what the extra saml database requirement is though. If anyone has better links on OpenID support, would be welcome.

      1 Reply Last reply
      2
      • C Offline
        C Offline
        cloud9ron
        wrote on last edited by cloud9ron
        #3

        a little above my pay grade to make an educated comment here 🙂

        https://cal.com/docs/introduction/quick-start/self-hosting/sso-setup

        https://github.com/calcom/cal.com/pull/6661

        1 Reply Last reply
        1
        • L Offline
          L Offline
          leog
          wrote on last edited by leog
          #4

          Hey there. Worked on Cal.com for a while, see my Cloudron Forum username be picked up in the updates of the package here https://forum.cloudron.io/topic/9924/cal-com-package-updates as I'm using the same username as GitHub 😄

          Here is the SSO docs just in case, https://cal.com/docs/introduction/quick-start/self-hosting/sso-setup

          1 Reply Last reply
          1
          • L Offline
            L Offline
            leog
            wrote on last edited by
            #5

            Also, I'm pretty sure that to be able to use SSO you need a license: https://cal.com/enterprise

            1 Reply Last reply
            0
            • jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #6

              @SadieHintz said in SSO / OIDC ?:

              Absolutely! The inclusion of SSO and OIDC in the upstream Docker image is a promising development. Implementing these features would indeed enhance user experience, security, and overall accessibility. It's a great consideration for improving the platform.

              The Cloudron Outline app already has OIDC included:

              Screenshot_20231115-131052_Firefox.png

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              0
              • infogulchI Offline
                infogulchI Offline
                infogulch
                wrote on last edited by infogulch
                #7

                The SSO docs are in the Self Sosting Quickstart section of the docs and doesn't say anything about being enterprise only. The instructions looks pretty simple; quoted with edits:

                Setting up OIDC login

                • Set SAML_DATABASE_URL to a Postgres database. Please use a different database than the main Cal instance since the migrations are separate for this database. (snip)
                • Set SAML_ADMINS to a comma separated list of admin emails who can configure the OIDC.
                • Keep handy the Client Secret, Client ID and Well Known URL with you for the next step.
                • Spin up cal.com on your server and login with the Admin user (the email ID of which was provided in step 2 for SAML_ADMINS environment variable).
                • Visit {BASE_URL}/settings/security/sso
                • Click on Configure SSO with OIDC, and then enter the Client Secret, Client ID and Well known URL from the Step 3, and click save.
                • That's it.

                The only thing that gives me pause is that it's asking for a separate Postgres database connection info, and I'm not sure if cloudron is able to do that. Maybe we can make the main app db and saml db use different pg schemas?

                (Side note: the fact that the only way to configure OIDC and SAML through the web ui is... insane. Their OIDC E2E test scenario literally scripts the settings page to enter credentials; there's no way to configure it automatically 🤯😱)

                1 Reply Last reply
                1
                • infogulchI Offline
                  infogulchI Offline
                  infogulch
                  wrote on last edited by infogulch
                  #8

                  doesn't say anything about being enterprise only

                  Oh

                  image.png

                  Nevermind then.


                  As far as the trick for an app that needs multiple pg databases, I think creating multiple schemas might work depending on if the db library used by the app supports setting the schema in the url or otherwise. Support for this feature seems patchy.

                  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