spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.88k stars 1.04k forks source link

Use Synapse users as LDAP / Oauth #875

Open TheOneWithTheBraid opened 3 years ago

TheOneWithTheBraid commented 3 years ago

It would be great to have a way to use Synapse's user management for external services based on LDAP or Oauth.

In particular, I was thinking of Matrix rooms as Organisational Units (ou) and their access level as the corresponding LDAP permissions.

This would allow a seamless integration of Matrix into services like BigBlueButton, Nextcloud or mail servers.

E.g. in Nextcloud, each Matrix room member could be given access to a personal place to store files etc.

hungrymonkey commented 3 years ago

https://github.com/matrix-org/synapse/blob/master/docs/openid.md You can easily integrate Openid and Oauth2 but I am not sure whether LDAP permission migrate into synapse.