This is a generic and reusable python implementation of Mozilla Persona Identity Provider.
This module is used on our production servers and authenticates users against our internal Active Directory controller.
See also BrowserID specification for more details.
$ git clone https://github.com/dpaw2/persona-idp $ cd persona-idp $ python setup.py install
$ pip install persona-idp
Please, modify at least the secret and rsa_key (unless you want to have serious security issues):
$ cat wsgi.py from persona_idp.idp import PersonaIDP application = PersonaIDP(rsa_key='/etc/apache2/certs/private.pem', secret='my123secret', provision_template='/tmp/provision.txt')
$ gunicorn --workers=2 wsgi:application
$ echo 'WSGIScriptAlias /persona /var/www/persona/wsgi.py' >> \ > /etc/apache2/conf.d/persona.conf
See the examples/ folder.
$ python setup.py test
$ git clone https://github.com/dpaw2/persona-idp $ python setup.py develop
This work is based on previous work of @djc and his persona-totp.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.