# aaugustin/django-sesame

"Magic Links" - URLs with authentication tokens for one-click login

Repository: https://github.com/aaugustin/django-sesame
Canonical: https://ross.abutalabs.com/products/django-sesame
Homepage: https://django-sesame.readthedocs.org/
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: authentication, token-based-authentication, django, python
Last push: 2026-01-05T21:29:26+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 60, release rhythm 35, longevity 100
- inputs: {"age_days": 5265, "days_push": 240, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1033, forks 58 (observed 2026-08-28T04:03:18.345861+00:00)

## What it is
django-sesame is a Python library that adds 'Magic Links' authentication to Django projects by generating URLs containing signed authentication tokens. It authenticates users from tokens found in URLs, enabling passwordless login and authenticated links.

## Use cases
- add passwordless email login links to a Django app
- generate one-click login URLs for users
- email authenticated links to reports or documents
- implement shareable links that grant access to specific views
- avoid password typing on mobile devices

## When to choose
- you have a Django project using django.contrib.auth and want frictionless token-based login
- you need stateless, expiring authentication tokens embedded in URLs
- you want Slack-style login-by-email

## When to avoid
- your project is not built on Django
- you need full session-based or OAuth authentication flows
- you cannot accept the security tradeoffs of tokens passed in URLs

## Facets
- artifact type: library
- maturity: active
- function: auth, security
- domain: web-development, security, backend
- platform: python
- tags: django, magic-links, passwordless-authentication, token-authentication, one-click-login

## Member repositories
- aaugustin/django-sesame (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.345861+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:06:39.340405+00:00, confidence not recorded.
  - readme: https://github.com/aaugustin/django-sesame (fetched 2026-08-28T04:03:18.345861+00:00, sha c68d9d0d008a)
  - registry_pypi: https://pypi.org/pypi/django-sesame/json (fetched 2026-08-29T13:06:58.728818+00:00, sha 0376cfbdb5c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
