kandanapp / kandan

Kandan is an Open Source Alternative to HipChat
GNU Affero General Public License v3.0
2.72k stars 408 forks source link

LDAP integration for user authentication #420

Open Zorlin opened 9 years ago

Zorlin commented 9 years ago

Hey there,

We use LDAP/Active Directory for everything (well, LDAP, really, but both would be nice) and if we wanted to use this in our wider organization instead of just for our team we would need LDAP integration.

Any thoughts on adding it? I might eventually start trying to hack it in if it isn't a priority for anyone else.

EDIT: It appears Omniauth will let me put this in with very little work, so it's sort of already there. I'll have to test it out and see how well it works, but this is sort of solved. I would like there to be official documentation on adding/using LDAP support and eventually some sort of group integration, however.

bodrovis commented 9 years ago

https://github.com/intridea/omniauth-ldap

Zorlin commented 9 years ago

Yes, Omniauth-LDAP would be an excellent way to implement this and is what tons of projects use. It's my first choice if I end up needing to implement it.

EDIT: Wait, seriously? It's that easy? :D I'll probably have a go at it in a little while. I would love to have this exposed in more obvious config files, however - having it directly inside config/initializers/devise.rb is super awkward.

scouttyg commented 9 years ago

@bodrovis might be the best person to answer this, because to be honest I have no experience implementing with LDAP. That being said, I wouldn't mind a configurable plugin to Kandan that adds this in, but I'm not sure if we should include it by default.

0vermind commented 9 years ago

+1