Django Secure auth by TOTP, SMS, Codes & Question
Project description
Django-Secure-Auth
==================
Demo installation:
------------------
.. code-block:: bash
$ 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:
.. code-block:: bash
$ 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``):
.. code-block:: bash
$ rabbitmq-server -detached
$ python manage.py celeryd --loglevel=info >& /dev/null &
Run test server:
.. code-block:: bash
$ 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.
.. image:: https://d2weczhvl823v0.cloudfront.net/gotlium/django-secure-auth/trend.png
:alt: Bitdeli badge
:target: https://bitdeli.com/free
==================
Demo installation:
------------------
.. code-block:: bash
$ 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:
.. code-block:: bash
$ 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``):
.. code-block:: bash
$ rabbitmq-server -detached
$ python manage.py celeryd --loglevel=info >& /dev/null &
Run test server:
.. code-block:: bash
$ 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.
.. image:: https://d2weczhvl823v0.cloudfront.net/gotlium/django-secure-auth/trend.png
:alt: Bitdeli badge
:target: https://bitdeli.com/free
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.0b1.tar.gz
(13.7 kB
view hashes)