ResultadosDigitais / matrix

#matrix is the online open-source workplace inspired in sococo.com for distributed teams to have the experience of work together each day, side-by-side. No matter where team members might be. Working in an online workplace is even more productive when people are feeling in the same space.
MIT License
900 stars 238 forks source link

Add ability to authenticate against AD/LDAP #229

Open adrianovieira opened 4 years ago

adrianovieira commented 4 years ago

Although google authorization is a great feature not all enterprises can use it to grant user authorization for must of their services.

Furthermore, some companies uses AD/LDAP as the service for users and services authentication and authorization.

So, it can be great to have a feature to setup matrix to use AD/LDAP service.

Description

From Wikipedia (AD / LDAP)

Is your feature request related to a problem? Please describe.

No

Describe alternatives you've considered

None so far

Additional context

:thinking:

juliemar commented 4 years ago

I believe the best way to support other kinds of authentication we have to change/decouple the current authentication way to an authentication plugin way.

in this way, anyone can create an authentication plugin to support all kind of authentications:

Etc..

hashtegner commented 4 years ago

I'm working on this PR https://github.com/ResultadosDigitais/matrix/pull/235 to improve routes security. After that, the passport.js authentication strategy allow us to implement different auth strategies.

diramos1 commented 4 years ago

I saw it was merged on PR #303. Does anybody have documented how to use passport.js to auth in matrix?