Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved How to install authlib to have OpenID integration in Synapse?

    Matrix (Synapse/Element)
    2
    3
    124
    Loading More Posts
    • 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
      cuzy-app last edited by

      To login with an SSO, Synapse requires authlib library: https://matrix-org.github.io/synapse/latest/openid.html#preparing-synapse

      How can I install it, as normally the command is pip install matrix-synapse[oidc], but it's not authorized on a Cloudron instance?
      ERROR: Could not install packages due to an OSError: [Errno 30] Read-only file system: '/app/code/env/lib/python3.8/site-packages/authlib'

      Thanks.

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @cuzy-app last edited by

        @cuzy-app It has to be added to the source package since code in Cloudron is readonly.

        I added it here - https://git.cloudron.io/cloudron/synapse-app/-/commit/b2e78007882b5bebcb7d314db71730050f5d862a . If you update, the new package has the module.

        C 1 Reply Last reply Reply Quote 2
        • C
          cuzy-app @girish last edited by cuzy-app

          @girish Sorry for my late reply (I'm new to this forum and I didn't see that default notification settings don't send an email).

          Thanks a lot for adding it to the package!
          I works perfectly!

          1 Reply Last reply Reply Quote 2
          • Topic has been marked as a question  nebulon nebulon 
          • Topic has been marked as solved  nebulon nebulon 
          • First post
            Last post
          Powered by NodeBB