Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Password-less authentication: login by clicking on a magic link received by email.

Project description

Django Magicauth

Authentifiez vos utilisateurs sans mot de passe avec Django Magicauth

Fonctionnement (FR)

Lorsqu'un service utilise Django Magicauth, les utilisateurs s'authentifient en entrant leur adresse email. Ils reçoivent alors un email avec un lien de connexion. S'ils cliquent sur le lien, ils sont authentifiés et redirigés sur le service.

How it works (EN)

Django Magicauth brings password-less authentication to your project.

Installations and testing instructions (EN)

Quick start

  1. Install MagicAuth
pip install git+
  1. Add "magicauth" to your INSTALLED_APPS in
    # all your apps
  1. Include the magicauth URLconf in your app's
# After your previous imports
from magicauth import views as magicauth_views
from magicauth.urls import urlpatterns as magicauth_urls

urlpatterns = [
    # here are your URL patterns

  1. Add the following items in your project's`
  1. Run python migrate to create the polls models.

  2. Setup your (mailer)[] in In dev mode, you can use a (console mailer)[]

  3. Make sure you have the following middlewares

    # [...] other middleware you may have

Contribute to Magic auth

To contribute to magicauth, you can install the package in the "editable" mode

pip uninstall django-magicauth  # just in case...
pip install -e git+

run tests

DJANGO_SETTINGS_MODULE=magicauth.tests.settings pytest

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-magicauth, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size django-magicauth-0.2.tar.gz (11.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page