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

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)
21 Posts 9 Posters 3.5k 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.
  • jdaviescoatesJ jdaviescoates

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

    It was hyped up for a while and then later they obsoleted it.

    I don't think it was obsloted, I think it was rolled into Synapse, no?

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #10

    @jdaviescoates I should have been clearer... I meant the sliding sync webapp got obsoleted and the repo was archived. TBH, I don't really know if the protocol / implementation was merged in a compatible way.

    1 Reply Last reply
    1
    • girishG girish referenced this topic on
    • girishG girish

      I went down this rabbit hole now to investigate. The docs are hard to understand on the status quo or even where matrix is going and nuggets of information is various GitHub issues. Anyways, a few hours later, the rough summary is this:

      • matrix synapse has built-in OIDC support. This built-in auth of synapse is now considered "legacy" auth. This legacy auth is only supported by the Element app.

      • matrix now has a new authentication spec. This is implemented in MAS - Matrix Authentication Service which has just 43 stars and is in v0.12.0

      • The idea of MAS is to take over user management and authentication. It runs as a separate web service, in it's own domain, has it's own db of users. IOW, with MAS, the users will move from the synapse web service to the MAS. There is a syn2mas migration script to move users.

      • To deploy MAS seems not so hard (is a single rust binary) but configuring it is a beast. See https://element-hq.github.io/matrix-authentication-service/ .

      • The Element X app only works when matrix is deployed with MAS . There is no plan to make it work with non-MAS setups.

      I have no idea how stable and production ready all this is. As mentioned, the version is just 0.x and I can't find any information of when this hits 1.0. Reminds of the sliding sync situation. It was hyped up for a while and then later they obsoleted it.

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

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

      matrix now has a new authentication spec. This is implemented in MAS - Matrix Authentication Service which has just 43 stars and is in v0.12.0

      I just realised that 1.0.0 was released 2 days ago!

      https://github.com/element-hq/matrix-authentication-service/releases/tag/v1.0.0

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      4
      • nottheendN Offline
        nottheendN Offline
        nottheend
        wrote on last edited by nottheend
        #12

        Element X calls seem to require additional well-known configuration for Matrix RTC for calls.

        When I tried to make a call with Element X, I got this error:

        Error Code: MISSING_MATRIX_RTC_FOCUS
        

        The issue is discussed here with some workarounds: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4224

        From what I can gather, it seems you need to configure /.well-known/matrix/client or /.well-known/element/element.json with RTC settings, but I'm not sure of the exact setup for Cloudron.

        Anyone figured this out?

        This discussion might be closely related:
        https://forum.cloudron.io/topic/13140/

        1 Reply Last reply
        1
        • potemkin_aiP Offline
          potemkin_aiP Offline
          potemkin_ai
          wrote on last edited by
          #13

          on top of everything, Element X require livekit & jwt to work; if you are using OpenID connect - you have to use MAS, as Element X will not work otherwise (not now, nor ever).

          1 Reply Last reply
          1
          • N Offline
            N Offline
            ntnsndr
            wrote last edited by
            #14

            I'm encountering this as well. It is really disappointing as a statement on the Matrix ecosystem that the flagship Matrix app can't always log into the standard Matrix server. Do we have any ability to build in a workaround for Cloudron?

            1 Reply Last reply
            2
            • scookeS Offline
              scookeS Offline
              scooke
              wrote last edited by
              #15

              FWIW, I've just logged into my Matrix using Android Element X. Is this still an issue for others?

              A life lived in fear is a life half-lived

              1 Reply Last reply
              0
              • N Offline
                N Offline
                ntnsndr
                wrote last edited by
                #16

                @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 1 Reply Last reply
                1
                • 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 Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote 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 Offline
                    andreasduerenA Offline
                    andreasdueren
                    wrote 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 Offline
                      N Offline
                      ntnsndr
                      wrote 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 Offline
                        andreasduerenA Offline
                        andreasdueren
                        wrote 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
                        1
                        • N Offline
                          N Offline
                          ntnsndr
                          wrote last edited by
                          #21

                          Oh, got it—thanks.

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