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
  • Brite
  • 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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Matrix (Synapse/Element)
  3. Has anyone got the Element X App working with Cloudron Matrix?

Has anyone got the Element X App working with Cloudron Matrix?

Scheduled Pinned Locked Moved Matrix (Synapse/Element)
37 Posts 12 Posters 12.1k Views 12 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.
  • N ntnsndr

    @scooke What method did you use? Were you able to use the QR? Or did you manually join the server by address without the "selected homeserver doens't support password or oidc login" error?

    jdaviescoatesJ
    jdaviescoatesJ
    jdaviescoates
    Super Fan
    wrote on last edited by
    #17

    @ntnsndr I'm not positive as I've not tested it, but my understanding is that Martix on Cloudron without any OIDC works with Element X, but with OIDC it doesn't work because for that we'd need MAS set-up which we don't yet have on Cloudron yet. I think, maybe.

    I use Cloudron with Gandi & Hetzner

    andreasduerenA 1 Reply Last reply
    1
    • jdaviescoatesJ jdaviescoates

      @ntnsndr I'm not positive as I've not tested it, but my understanding is that Martix on Cloudron without any OIDC works with Element X, but with OIDC it doesn't work because for that we'd need MAS set-up which we don't yet have on Cloudron yet. I think, maybe.

      andreasduerenA
      andreasduerenA
      andreasdueren
      wrote on last edited by
      #18

      @jdaviescoates said in Has anyone got the Element X App working with Cloudron Matrix?:

      Martix on Cloudron without any OIDC works with Element X, but with OIDC it doesn't work because for that we'd need MAS set-up which we don't yet have on Cloudron yet. I think, maybe.

      Correct. Password login works fine, OIDC does not, neither do calls.

      1 Reply Last reply
      1
      • N
        N
        ntnsndr
        wrote on last edited by
        #19

        Thanks for the clarity. Disappointing, since unified login is really crucial for my server.

        Again, what an absurd situation: That the flagship app for Matrix doesn't work with SSO. How the heck do they explain that to their government/military customers?

        Thanks, team Cloudron!

        andreasduerenA 1 Reply Last reply
        0
        • N ntnsndr

          Thanks for the clarity. Disappointing, since unified login is really crucial for my server.

          Again, what an absurd situation: That the flagship app for Matrix doesn't work with SSO. How the heck do they explain that to their government/military customers?

          Thanks, team Cloudron!

          andreasduerenA
          andreasduerenA
          andreasdueren
          wrote on last edited by
          #20

          @ntnsndr It does work with SSO (Can't say anything about how well) via the MAS. I've been playing around with seeing about adding it to the cloudron package but so far no luck getting MAS started.

          1 Reply Last reply
          2
          • N
            N
            ntnsndr
            wrote on last edited by
            #21

            Oh, got it—thanks.

            1 Reply Last reply
            2
            • N ntnsndr

              @scooke What method did you use? Were you able to use the QR? Or did you manually join the server by address without the "selected homeserver doens't support password or oidc login" error?

              scookeS
              scookeS
              scooke
              wrote on last edited by
              #22

              @ntnsndr I used my Matrix install with it setup to manage users on its own. I logged into the matrix.example.com site, not the element.example.com site, by entering the Matrix url. And yes, it was just with username and password (which had been setup on the element.example.com site). I hadn't tried the QR code.

              A life lived in fear is a life half-lived

              1 Reply Last reply
              1
              • M
                M
                msbt
                App Dev Super Fan
                wrote on last edited by
                #23

                A customer of mine is having the same issue. For me it works, because I'm not using SSO/OIDC, but they are and are unable to hop on video calls, which is a shame. If what I'm reading is true, the package needs quite a bit of adjustment to make it work 😕

                Happy Hosting & Web Development

                1 Reply Last reply
                3
                • jamesJ
                  jamesJ
                  james
                  Staff
                  wrote on last edited by
                  #24

                  We looked into this, created a community app and documented everything here:
                  https://forum.cloudron.io/topic/15225/matrix-authentication-service

                  1 Reply Last reply
                  4
                  • girishG
                    girishG
                    girish
                    Staff
                    wrote last edited by
                    #25

                    For those on 10.2, the new version of Synapse will support Element X out of the box since it bundles the MAS inside it.

                    DidierMalenfantD 1 Reply Last reply
                    4
                    • girishG girish

                      For those on 10.2, the new version of Synapse will support Element X out of the box since it bundles the MAS inside it.

                      DidierMalenfantD
                      DidierMalenfantD
                      DidierMalenfant
                      wrote last edited by
                      #26

                      @girish should the URL for the MAS be set to the same as the matrix server or to the bare domain if that's what we use for our matrix handles?

                      girishG 1 Reply Last reply
                      1
                      • DidierMalenfantD DidierMalenfant

                        @girish should the URL for the MAS be set to the same as the matrix server or to the bare domain if that's what we use for our matrix handles?

                        girishG
                        girishG
                        girish
                        Staff
                        wrote last edited by girish
                        #27

                        @DidierMalenfant it has to be a separate subdomain like mas or auth or account (the default).

                        (The MAS is a separate "web service" which handles authentication)

                        jdaviescoatesJ DidierMalenfantD 2 Replies Last reply
                        0
                        • girishG girish

                          @DidierMalenfant it has to be a separate subdomain like mas or auth or account (the default).

                          (The MAS is a separate "web service" which handles authentication)

                          jdaviescoatesJ
                          jdaviescoatesJ
                          jdaviescoates
                          Super Fan
                          wrote last edited by
                          #28

                          @girish said:

                          @DidierMalenfant it has to be a separate subdomain like mas or auth or account (the default).

                          (The MAS is a separate "web service" which handles authentication)

                          @girish There was something about this in the update notice, but no admin notes after updating to remind people.

                          Also not clear here that account is the default:

                          image.jpeg

                          If you don't set anything, what happens?

                          I use Cloudron with Gandi & Hetzner

                          girishG 1 Reply Last reply
                          0
                          • girishG
                            girishG
                            girish
                            Staff
                            wrote last edited by girish
                            #29

                            @jdaviescoates right, so account is the default for the new installations. It's not shown during update.

                            If you don't set anything, authentication won't work! Should probably stress that part in the update instructions I guess. Will add that.

                            edit: oh, that line was already there - Without setting the MAS domain location, this app will not work.

                            nottheendN 1 Reply Last reply
                            1
                            • jdaviescoatesJ jdaviescoates

                              @girish said:

                              @DidierMalenfant it has to be a separate subdomain like mas or auth or account (the default).

                              (The MAS is a separate "web service" which handles authentication)

                              @girish There was something about this in the update notice, but no admin notes after updating to remind people.

                              Also not clear here that account is the default:

                              image.jpeg

                              If you don't set anything, what happens?

                              girishG
                              girishG
                              girish
                              Staff
                              wrote last edited by
                              #30

                              @jdaviescoates said:

                              @girish There was something about this in the update notice, but no admin notes after updating to remind people.

                              Unfortunately, we don't have an easy way to put a message in admin notes on an update. We put the initial POSTINSTALL message into the update and after that we leave it alone since the admin can change it at will. We only have the update changelog that we show in a blocking dialog. Usually, packages should always aim to update automatically and provide a SaaS like experience. We could possibly design for this, but I think this one is a bit of a rare exception.

                              1 Reply Last reply
                              1
                              • girishG girish

                                @DidierMalenfant it has to be a separate subdomain like mas or auth or account (the default).

                                (The MAS is a separate "web service" which handles authentication)

                                DidierMalenfantD
                                DidierMalenfantD
                                DidierMalenfant
                                wrote last edited by
                                #31

                                @girish Thanks! Does this need HTTP/HTTPS access to this URL or any other port open for it to work (my cloudron install is behind a reverse proxy server)

                                girishG 1 Reply Last reply
                                0
                                • girishG girish

                                  @jdaviescoates right, so account is the default for the new installations. It's not shown during update.

                                  If you don't set anything, authentication won't work! Should probably stress that part in the update instructions I guess. Will add that.

                                  edit: oh, that line was already there - Without setting the MAS domain location, this app will not work.

                                  nottheendN
                                  nottheendN
                                  nottheend
                                  wrote last edited by nottheend
                                  #32

                                  @girish said:

                                  If you don't set anything, authentication won't work!

                                  Isn't it possible to set such a note after updating, which some apps have, e.g. to change the password?
                                  At least a hint that it has to be set under 'locations' and e.g. not in the Cloudron platform interface would be helpful

                                  jdaviescoatesJ 1 Reply Last reply
                                  2
                                  • nottheendN nottheend

                                    @girish said:

                                    If you don't set anything, authentication won't work!

                                    Isn't it possible to set such a note after updating, which some apps have, e.g. to change the password?
                                    At least a hint that it has to be set under 'locations' and e.g. not in the Cloudron platform interface would be helpful

                                    jdaviescoatesJ
                                    jdaviescoatesJ
                                    jdaviescoates
                                    Super Fan
                                    wrote last edited by
                                    #33

                                    @nottheend said:

                                    Isn't it possible to set such a note after updating, which some apps have, e.g. to change the password?

                                    It sounds like perhaps @girish is saying that's only possible on install but not updates?

                                    I use Cloudron with Gandi & Hetzner

                                    1 Reply Last reply
                                    2
                                    • DidierMalenfantD DidierMalenfant

                                      @girish Thanks! Does this need HTTP/HTTPS access to this URL or any other port open for it to work (my cloudron install is behind a reverse proxy server)

                                      girishG
                                      girishG
                                      girish
                                      Staff
                                      wrote last edited by
                                      #34

                                      @DidierMalenfant said:

                                      @girish Thanks! Does this need HTTP/HTTPS access to this URL or any other port open for it to work (my cloudron install is behind a reverse proxy server)

                                      Yes, it needs https access. The user is redirected to <mas-subdomain> to authenticate . In essence, one needs access to the synapse subdomain, mas subdomain and the element subdomain

                                      1 Reply Last reply
                                      0
                                      • girishG
                                        girishG
                                        girish
                                        Staff
                                        wrote last edited by
                                        #35

                                        @nottheend what @jdaviescoates said. Fresh installs do not hit this issue because they require you to fill up the subdomains field at installation time. This quirk is only for existing installs.

                                        <technical>

                                        So, this app is a real special case. Previously, it needed only one subdomain for synapse itself. Now, upstream has introduced a separate subdomain for authentication - called MAS (matrix authentication service) subdomain.

                                        On Cloudron, we could have packaged MAS as a totally separate app. But this not only increases app count (which ties to our pricing) but also makes an already complicated matrix setup (2 apps) even more complex (3 apps). So, we decided to integrate MAS into the existing synapse package. But of course, we then need to ask the user for MAS subdomain. We cannot assume some subdomain because the user might have something else there. At the same time, Cloudron's app update flow was designed to not require user input. The solution was to make the user update and then later suggest that they fill up the subdomain.

                                        </technical>

                                        Hope that makes sense 🙂

                                        1 Reply Last reply
                                        2
                                        • girishG
                                          girishG
                                          girish
                                          Staff
                                          wrote last edited by
                                          #36

                                          I have put some docs here - https://docs.cloudron.io/packages/synapse#upgrading-to-20

                                          1 Reply Last reply
                                          2

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          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