{ "info": { "author": "aruseni", "author_email": "aruseni.magiku@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "What is django-qrauth?\n======================\n\ndjango-qrauth allows you to easily spice up your website with instant user authentication: once a user has signed in on their Mac or PC, they can pick up their smartphone (or tablet, iPod, etc: actually, anything that has Internet access, a camera and a QR code scanning application should work), scan a QR code (which appears on the display after the user clicks the corresponding link) and immediately sign in on their smartphone or other mobile device they use (so they don\u2019t have to enter the site address, their login/email and password).\n\n\n\nYou can see the detailed walkthrough in [this screencast](http://www.youtube.com/watch?v=6ob3oR_Frhk) (in Russian) and in [this blog post](http://habrahabr.ru/post/181093/) (also in Russian).\n\nVisit [Background Dating](http://backgrounddating.com/) to see this in action.\n\nInstallation\n============\n\nStep 1\n------\n\nInstall [Redis](http://redis.io/).\n\nStep 2\n------\n\nInstall django-qrauth:\n\n pip install django-qrauth\n\nStep 3\n------\n\nOpen your templates directory and add the following templates: qrauth/invalid_code.html and qrauth/page.html. For example:\n\n**qrauth/invalid_code.html**\n\n {% extends \"base.html\" %}\n\n {% block title %}Invalid QR code{% endblock %}\n\n {% block content %}\n
The QR code you are using for authentication is invalid. Please try to open the page with the QR code again and then rescan it.
\nScan this QR code to instantly sign in to the website on your mobile device (a smartphone, a tablet, etc):
\nEvery generated QR code only works once and only for 5 minutes. If you need another QR code, just open this page again.
\n