Django MFA Documentation

Similar documents
django simple pagination Documentation

django-cas Documentation

open-helpdesk Documentation

django-messages Documentation

django-users2 Documentation

Getting the files for the first time...2. Making Changes, Commiting them and Pull Requests:...5. Update your repository from the upstream master...

django-konfera Documentation

Signals Documentation

django-allauth-2fa Documentation

FPLLL. Contributing. Martin R. Albrecht 2017/07/06

Python Schema Generator Documentation

django-telegram-bot Documentation

Python wrapper for Viscosity.app Documentation

Django Wordpress API Documentation

nacelle Documentation

django-reinhardt Documentation

Roman Numeral Converter Documentation

django-private-chat Documentation

TPS Documentation. Release Thomas Roten

Github/Git Primer. Tyler Hague

Python Project Example Documentation

Version Control. Second level Third level Fourth level Fifth level. - Software Development Project. January 11, 2017

DJOAuth2 Documentation

django-idioticon Documentation

Python simple arp table reader Documentation

django-stored-messages Documentation

Tizen/Artik IoT Practice Part 4 Open Source Development

Lab 01 How to Survive & Introduction to Git. Web Programming DataLab, CS, NTHU

Tips on how to set up a GitHub account:

chatterbot-weather Documentation

Object Oriented Programming. Week 1 Part 2 Git and egit

google-search Documentation

dj-libcloud Documentation

I2C LCD Documentation

Tutorial 2 GitHub Tutorial

CS 390 Software Engineering Lecture 5 More Git

Google Domain Shared Contacts Client Documentation

Bambu API Documentation

smsghussd Documentation

Using GitHub and SourceTree to work with DITA TC repositories

PyCRC Documentation. Release 1.0

django-responsive2 Documentation

django-ratelimit-backend Documentation

contribution-guide.org Release

Introduction to Git. Database Systems DataLab, CS, NTHU Spring, 2018

The Old World. Have you ever had to collaborate on a project by

git-pr Release dev2+ng5b0396a

Aircrack-ng python bindings Documentation

Multi Factor Authentication

Simple libtorrent streaming module Documentation

MOOSE-Based Application Development on GitLab

sainsmart Documentation

KTH Royal Institute of Technology SEMINAR 2-29 March Simone Stefani -

CS314 Software Engineering Configuration Management

Poetaster. Release 0.1.1

Release Nicholas A. Del Grosso

git-flow Documentation

Git and GitHub. Dan Wysocki. February 12, Dan Wysocki Git and GitHub February 12, / 48

Building a Django Twilio Programmable Chat Application

Version Control with Git ME 461 Fall 2018

django-openid Documentation

Multi-factor Authentication Instructions

SagePay payment gateway package for django-oscar Documentation

Multifactor Authentication (MFA) Mobile Phone Registration

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Gerrit

mozilla-django-oidc Documentation

User manual for access to Gasport

1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one.

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

Git Workflows. Sylvain Bouveret, Grégory Mounié, Matthieu Moy

Signup for Multi-Factor Authentication

django-password-reset Documentation

wagtail-robots Documentation

Visualizing Git Workflows. A visual guide to 539 workflows

django-generic-filters Documentation

TailorDev Contact Documentation

Tangent MicroServices Documentation

Software Development I

Kivy Designer Documentation

gunny Documentation Release David Blewett

Redis Timeseries Documentation

CID Documentation. Release Francis Reyes

MFA (Multi-Factor Authentication) Enrollment Guide

This short tutorial will explain how to use the GCC web wallet and how you can authenticate your wallet address using Sign Message option to connect

Version Control Systems

Introduction to Git and Github Repositories

git Version: 2.0b Merge combines trees, and checks out the result Pull does a fetch, then a merge If you only can remember one command:

AnyDo API Python Documentation

PyZillow Documentation

Git for Subversion users

Getting Started New User. To begin, open the Multi-Factor Authentication Service in your inbox.

Intro to Github. Jessica Young

silk Documentation Release 0.3 Michael Ford

Mantis STIX Importer Documentation

django CMS Export Objects Documentation

FEEG Applied Programming 3 - Version Control and Git II

django-oscar-paypal Documentation

Python AutoTask Web Services Documentation

Online Remote Repositories

Guide to your CGIAR Network account Self Service tool

Transcription:

Django MFA Documentation Release 1.0 Micro Pyramid Sep 20, 2018

Contents 1 Getting started 3 1.1 Requirements............................................... 3 1.2 Installation................................................ 3 1.3 Settings.................................................. 3 1.4 Urls.................................................... 3 2 Flow And Urls 5 2.1 Step1: Enabling MFA.......................................... 5 2.2 Step2: Setup with APP.......................................... 5 2.3 Step3: Scan QR code........................................... 5 2.4 Step4: Disabing the MFA........................................ 6 3 Contributing 7 3.1 Sending pull requests........................................... 7 i

ii

Django MFA Documentation, Release 1.0 This application provides an implementation of Multi-Factor Authentication. The source code for this app is hosted at https://github.com/micropyramid/django-mfa Contents: Contents 1

Django MFA Documentation, Release 1.0 2 Contents

CHAPTER 1 Getting started 1.1 Requirements Python >= 2.6 (or Python 3) Django < 1.10 1.2 Installation The Git repository can be cloned with this command: git clone https://github.com/micropyramid/django-mfa The django_mfa package, included in the distribution, should be placed on the PYTHONPATH. Otherwise you can just easy_install -Z django-mfa or pip install django-mfa. 1.3 Settings Add django_mfa' to the INSTALLED_APPS to your settings.py. See the settings section for other settings. Add 'django_mfa.middleware.mfamiddleware' to the MIDDLEWARE_CLASSES 1.4 Urls Add the following to your root urls.py file. 3

Django MFA Documentation, Release 1.0 urlpatterns = [... ] url(r'^settings/', include('django_mfa.urls', namespace="mfa")), Done. With these settings you have now, you will get the MFA features. 4 Chapter 1. Getting started

CHAPTER 2 Flow And Urls Once we have done with the basic setup as given in installation and setup, we are ready to go. 2.1 Step1: Enabling MFA Once your app is up and running with settings, just go to url /settings/security. There we can see if the MFA is enabled or not. Lets say MFA is not enabled. When we click on 'Enable MFA'. Then user will be redirected to setup types url. 2.2 Step2: Setup with APP When user completes step1 successfully, he/she will be redirected to url /settings/mfa/configure/. Here user will have option to Setup using APP. This means we are going to use google authenticator for this. When user click on 'Setup using APP' then will be redirected to page where we get a QR code which we have to scan in our google authenticator. 2.3 Step3: Scan QR code In this step user will see a QR code generated with user s email. User have to scan this code with Google Authenticator app. Once user scanned this image, user will get a 6 digit code which expire for every 30 secs. User has to enter this six digit code in the text box. Once user successfully enters the six digit code, thats it from now onwards your MFA is enabled. You can check this by logging out of the system and login again. Even when user login with username and password the application will ask for 6 digit code to complete the login. 5

Django MFA Documentation, Release 1.0 2.4 Step4: Disabing the MFA Disabling MFA is quite simple, we can do this by visiting the url /settings/security. 'Disable MFA' your account will be free from MFA. By clicking the 6 Chapter 2. Flow And Urls

CHAPTER 3 Contributing Feel free to create a new Pull request if you want to propose a new feature or fix a bug. 3.1 Sending pull requests 1. Fork the repo: https://github.com/micropyramid/django-mfa 2. Create a branch for your specific changes: $ git checkout master $ git pull $ git checkout -b feature To simplify things, please, make one branch per issue (pull request). It s also important to make sure your branch is up-to-date with upstream master, so that maintainers can merge changes easily. 3. Commit changes. Please update docs, if relevant. 4. Don t forget to run tests to check than nothing breaks. 5. Ideally, write your own tests for new feature/bug fix. 6. Submit a pull request. 7