{"id":20120883,"url":"https://github.com/micropyramid/django-mfa","last_synced_at":"2025-04-04T08:03:30.664Z","repository":{"id":9441674,"uuid":"62126660","full_name":"MicroPyramid/django-mfa","owner":"MicroPyramid","description":"Django-mfa (Multi Factor Authentication) is a simple package to add extra layer of security to your django web application. It gives web app a randomly changing password as an extra protection and supports u2f too","archived":false,"fork":false,"pushed_at":"2024-05-14T19:51:06.000Z","size":134,"stargazers_count":184,"open_issues_count":16,"forks_count":80,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-04T07:39:15.797Z","etag":null,"topics":["2fa","django","mfa","python","security","u2f"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MicroPyramid.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-28T09:08:12.000Z","updated_at":"2025-02-25T09:13:08.000Z","dependencies_parsed_at":"2024-01-06T10:14:10.732Z","dependency_job_id":"8c093d04-b993-48e6-97e0-57a75aa51c69","html_url":"https://github.com/MicroPyramid/django-mfa","commit_stats":{"total_commits":91,"total_committers":24,"mean_commits":"3.7916666666666665","dds":0.7692307692307692,"last_synced_commit":"15d3f70509ee7b618f8e591a64b555b6fa0219c3"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroPyramid%2Fdjango-mfa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroPyramid%2Fdjango-mfa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroPyramid%2Fdjango-mfa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroPyramid%2Fdjango-mfa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MicroPyramid","download_url":"https://codeload.github.com/MicroPyramid/django-mfa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142059,"owners_count":20890652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2fa","django","mfa","python","security","u2f"],"created_at":"2024-11-13T19:23:46.759Z","updated_at":"2025-04-04T08:03:30.636Z","avatar_url":"https://github.com/MicroPyramid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"django-mfa\n==========\n\n.. image:: https://readthedocs.org/projects/django-mfa/badge/?version=latest\n   :target: http://django-mfa.readthedocs.io/en/latest/\n   :alt: Documentation Status\n   \n.. image:: https://travis-ci.org/MicroPyramid/django-mfa.svg?branch=master\n   :target: https://travis-ci.org/MicroPyramid/django-mfa\n\n.. image:: https://img.shields.io/pypi/v/django-mfa.svg\n    :target: https://pypi.python.org/pypi/django-mfa\n    :alt: Latest Release\n    \n.. image:: https://coveralls.io/repos/github/MicroPyramid/django-mfa/badge.svg?branch=master\n   :target: https://coveralls.io/github/MicroPyramid/django-mfa?branch=master\n\n.. image:: https://landscape.io/github/MicroPyramid/django-mfa/master/landscape.svg?style=flat\n   :target: https://landscape.io/github/MicroPyramid/django-mfa/master\n   :alt: Code Health\n\n.. image:: https://img.shields.io/github/license/micropyramid/django-mfa.svg\n    :target: https://pypi.python.org/pypi/django-mfa/\n\nDjango-mfa(Multi-factor Authentication) is a simple django package to add extra layer of security to your web application. Django-mfa is providing easiest integration to enable Multi factor authentication to your django applications. Inspired by the user experience of Google's Authentication, django-mfa allows users to authenticate through text message(SMS) or by using token generator app like google authenticator. \n\nWe welcome your feedback on this package. If you run into problems, please raise an issue or contribute to the project by forking the repository and sending some pull requests. \n\nThis Package is compatible with the following Django versions: 2.2, 3.0, 3.1, 3.2. Documentation is available at readthedocs(http://django-mfa.readthedocs.io/en/latest/)\n\nQuick start\n-----------\n\nInstallation\n~~~~~~~~~~~~\n\nThe Git repository can be cloned with this command::\n\n    git clone https://github.com/MicroPyramid/django-mfa\n\nThe ``django_mfa`` package, included in the distribution, should be\nplaced on the ``PYTHONPATH``.\n\nOtherwise you can just ``easy_install -Z django-mfa``\nor ``pip install django-mfa``.\n\nSettings\n~~~~~~~~\n\n1. Add app name in settings.py::\n\n    INSTALLED_APPS = [\n       '..................',\n       'django_mfa',\n       '..................'\n    ]\n\n2. Add 'django_mfa.middleware.MfaMiddleware' to your project middlewares::\n\n    MIDDLEWARE = [\n       '....................................',\n       'django_mfa.middleware.MfaMiddleware',\n       '....................................',\n    ]\n\n3. Optional issuer name.  This name will be shown in the Authenticator App along with the username\n\n   MFA_ISSUER_NAME = \"Cool Django App\"\n\n4. Optionally enable remember-my-browser.  If enabled, the browser will be trusted for specified number of days after the user enters the code once::\n\n    MFA_REMEMBER_MY_BROWSER = True\n    MFA_REMEMBER_DAYS = 90\n\nUrls\n~~~~\n\nAdd the following to your root urls.py file.\n\n.. code:: django\n\n    urlpatterns = [\n        ...\n\n        url(r'^settings/', include('django_mfa.urls')),\n    ]\n\n\nDone. With these settings you have now, you will get the MFA features.\n\nYou can try it by hosting on your own or deploy to Heroku with a button click.\n\n.. image:: https://www.herokucdn.com/deploy/button.svg\n   :target: https://heroku.com/deploy?template=https://github.com/MicroPyramid/django-mfa.git\n\nVisit our Django web development page `Here`_\n\nWe welcome your feedback and support, raise `github ticket`_ if you want to report a bug. Need new features? `Contact us here`_\n\n.. _contact us here: https://micropyramid.com/contact-us/\n.. _Here: https://micropyramid.com/django-development-services/\n.. _github ticket: https://github.com/MicroPyramid/django-mfa/issues\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicropyramid%2Fdjango-mfa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicropyramid%2Fdjango-mfa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicropyramid%2Fdjango-mfa/lists"}