Taiga contrib kerberos auth
** WARNING: THIS PLUGIN IS NOT PRODUCTION READY. HOWEVER, IT SHOULD BE IN A WEEK =P **
The Taiga plugin for kerberos authentication.
In your Taiga back, first install
libkrb5-dev with the following command:
sudo apt-get install libkrb5-dev
Then, in the python virtualenv install the pip package:
pip install taiga-contrib-kerberos-auth
Finally, modify your
settings/local.py and include it on
INSTALLED_APPS and add your
INSTALLED_APPS += ['taiga_contrib_kerberos_auth'] # kerberos realm KRB5_REALM = 'EXAMPLE.COM' # Allow users from any of these domains to connect to KRB5_REALM # If empty, only e-mails such as user@EXAMPLE.COM will be allowed KRB5_DOMAINS = ['example.com'] # When the user provide only username, assume this domain. # This is useful when REALM is not a valid e-mail. Leave blank to use # KRB5_REALM as the default domain KRB5_DEFAULT_DOMAIN = ""
Change in your
loginFormType setting to
... "loginFormType": "kerberos", ...
Based on ldap code fom enskylin