Secure authentication by TOTP, SMS, Codes & Question
Project description
Demo installation:
$ sudo apt-get install geoip-database-contrib rabbitmq-server
$ mkvirtualenv django-secure-auth
$ git clone https://github.com/gotlium/django-secure-auth.git
$ cd django-secure-auth
$ pip install -r requirements.txt
$ python setup.py develop
$ cd demo
$ pip install -r requirements.txt
$ python manage.py syncdb --noinput
$ python manage.py migrate
Open settings:
$ vim demo/settings.py
Replace Twilio credentials in AUTH_SMS_BACKEND_AUTH to your demo account settings.
Run RabbitMQ server and Celery daemon(or remove ‘djcelery’ from INSTALLED_APPS):
$ rabbitmq-server -detached
$ python manage.py celeryd --loglevel=info >& /dev/null &
Run test server:
$ python manage.py runserver
Now you can open http://127.0.0.1:8000/accounts/register/ and register new account and setup all available authentication methods.
Note: activation link will be output on console.
Screenshots
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-secure-auth-1.0b3.tar.gz
(26.4 kB
view hashes)