kamax-matrix / mxisd

Federated Matrix Identity Server
GNU Affero General Public License v3.0
224 stars 114 forks source link

Add valid use cases for mxisd on the README #21

Closed maxidorius closed 7 years ago

maxidorius commented 7 years ago

mxisd use cases are not always obvious, especially given the fog/instability surrounding Identity in the Matrix spec/ecosystem.

To ensure users understand the purpose of mxisd and an Identity Server in general, valid use cases should be documented.

doofy commented 7 years ago

Hi @maxidor. I want to give you some input from my usecase: I run a private riot+synapse+mxisd for my institue. The university has a general LDAP and all employees have accounts there except a few external ones. mxisd bind to the ldap with the users credentials. the users login with their email address. I use the given username from the email address for the login. mxisd fetches the full name from ldap and sets up the user account on synapse. I wrote a little script that bulk invites all known employees into a readonly channel sothat riot/synapse can built the "known users" table for every user. With that each employee can login with their trusted LDAP account and find people on our riot by searching their names.

maxidorius commented 7 years ago

@doofy some parts of what you say worries me, as you seem to confuse mxisd and the ldap authenticator for synapse. mxisd does NOT perform any authentication of users and does NOT create user account or profile. mxisd is only one thing: a 3PID->MXID public directory.

doofy commented 7 years ago

@maxidor sorry max my rambling seems to have gotten a bit out of hand. I was trying to give you a complete description about my usecase. If you want I can try again and be more clear about it. Otherwise I will accept to have failed in contributing to this ticket. no hard feelings :)

maxidorius commented 7 years ago

I appreciate you wanting to show me your use case, and I am very much interested into it, but you give mxisd roles it cannot have, so I am puzzle how you actually use it?

maxidorius commented 7 years ago

@doofy Still interested :)

maxidorius commented 7 years ago

Good enough for now with the latest doc enhancements