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. Outline
  3. Can't do first login

Can't do first login

Scheduled Pinned Locked Moved Solved Outline
11 Posts 3 Posters 435 Views 3 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.
  • nebulonN Away
    nebulonN Away
    nebulon
    Staff
    wrote on last edited by
    #2

    For a start, have you installed the app with Cloudron usermanagement enabled or not? Note that either the first user who logs into the app (if SSO is enabled) or the first user registering, will become admin.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ekevu123
      wrote on last edited by
      #3

      I have installed it without cloudron user management enabled and I am happy if the first user becomes admin, but I cannot access it.

      I have just tried again and got this in the logs this time:
      {"level":"warn","message":"Enforced https was disabled with FORCE_HTTPS env variable"}

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ekevu123
        wrote on last edited by
        #4

        I have just re-installed it activating cloudron user management, then it works.

        1 Reply Last reply
        0
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #5

          I can confirm that only a mostly blank screen will be shown if SSO is disabled. Looking into this now.

          1 Reply Last reply
          1
          • nebulonN nebulon marked this topic as a question on
          • nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote on last edited by
            #6

            This appears to have changed by now as email+password login is not supported anymore https://docs.getoutline.com/s/hosting/doc/authentication-7ViKRmRY5o

            I guess we can then remove the optionalSso flag and only have Cloudron OpenID integration.

            1 Reply Last reply
            1
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote on last edited by
              #7

              After investigating, I can confirm what is mentioned already in the app's postinstall:

              "A SSO login mechanism has to be configured to be able to login."

              So while this is a somewhat strange behavior, this is what upstream has. So unless one wants other external auth providers, I guess Cloudron SSO is the preferred one.

              1 Reply Last reply
              2
              • nebulonN nebulon has marked this topic as solved on
              • E Offline
                E Offline
                ekevu123
                wrote on last edited by
                #8

                Got it, thank you for investigating!

                1 Reply Last reply
                1
                • S Offline
                  S Offline
                  shrey
                  wrote on last edited by shrey
                  #9

                  Hi @nebulon

                  How to remove Cloudron SSO, from an existing Outline instance?

                  (I do already have another SSO configured, Google, in this case)

                  1 Reply Last reply
                  1
                  • nebulonN Away
                    nebulonN Away
                    nebulon
                    Staff
                    wrote on last edited by
                    #10

                    Cloudron SSO integration can only be configured on installation time. The packages are designed in a way to always ensure that setting, so it will be reset on next restart, even if you disable it. There are just too many corner-cases with matching usernames/email/... which people end up when auth provider are changed midway, so we went for an install time option.

                    So to not use Cloudron SSO you would have to reinstall the app and migrate the data manually, ensuring somehow the user mapping for outline is fine.

                    S 1 Reply Last reply
                    0
                    • nebulonN nebulon

                      Cloudron SSO integration can only be configured on installation time. The packages are designed in a way to always ensure that setting, so it will be reset on next restart, even if you disable it. There are just too many corner-cases with matching usernames/email/... which people end up when auth provider are changed midway, so we went for an install time option.

                      So to not use Cloudron SSO you would have to reinstall the app and migrate the data manually, ensuring somehow the user mapping for outline is fine.

                      S Offline
                      S Offline
                      shrey
                      wrote on last edited by
                      #11

                      @nebulon

                      Ah, never mind.
                      Just tested a new Outline instance, with Google SSO.

                      Although, it works, it works only with Google Workspace accounts, and not with private emails.

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