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. Matrix (Synapse/Element)
  3. How to install authlib to have OpenID integration in Synapse?

How to install authlib to have OpenID integration in Synapse?

Scheduled Pinned Locked Moved Solved Matrix (Synapse/Element)
3 Posts 2 Posters 559 Views 2 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
    cuzy-app
    wrote on last edited by
    #1

    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.

    girishG 1 Reply Last reply
    0
    • C cuzy-app

      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.

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

      @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
      2
      • girishG girish

        @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 Offline
        C Offline
        cuzy-app
        wrote on last edited by cuzy-app
        #3

        @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
        2
        • nebulonN nebulon marked this topic as a question on
        • nebulonN nebulon has marked this topic as solved on
        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