LDAP Authentication for Sentry

Sentry is an awesome error logging platform for various language platforms and web frameworks. And it also supports several social authentication backends, including Twitter, Facebook, Google, Github, Trello and Bitbucket. However, if you are trying to set up Sentry for a company or an organization, you would probably want to plug in an existed authentication method, such as LDAP or AD. With Django's design philosophies - loose coupling and DRY, it is pretty easy to plug in your preferred authentication backends. Below is an example using django-auth-ldap as a substitution of original database and social authentication backends. Just append the following settings to your sentry.conf.py generated by sentry init sentry.conf.py. Remember to install django-auth-ldap before restarting sentry.


Comments