{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Provides passwordless authentication for Django using email-based links or OAuth2 from Google, Microsoft, Facebook, and Twitter.","skillfed_tags":["oauth2","passwordless-auth","email-authentication"],"use_cases":["Add OAuth2 social login (Google, Microsoft, Facebook, Twitter) to a Django site without building OAuth flows from scratch.","Implement email-based passwordless registration where users receive signed links instead of setting passwords.","Restrict Django admin access to users from a specific email domain using OAuth2 credentials.","Replace traditional password authentication in a Django app with email-link-based login for improved security.","Integrate a lightweight user model with email-as-username for projects without a custom user implementation."],"what_it_does":"django-authlib is a lightweight Django authentication library that replaces password-based login with passwordless alternatives. It supports two main flows: sending cryptographically signed email links for registration and login, or delegating authentication to OAuth2 providers (Google, Microsoft, Facebook, Twitter). The library is intentionally minimal\u2014it provides authentication backends and optional bundled views rather than imposing a full framework, allowing developers to integrate it into existing Django projects with minimal configuration.\n\nThe package includes an optional admin OAuth module for restricting Django admin access to users from specific email domains, and a basic user model (little_auth) for projects that don't have a custom user implementation. It relies on requests-oauthlib for OAuth handling and integrates with Django's authentication system via the EmailBackend. Setup requires adding the backend to AUTHENTICATION_BACKENDS and optionally including the app in INSTALLED_APPS for translation support.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real problem (passwordless authentication) in a deliberately lightweight way. It's suitable for Django projects of any size that want OAuth2 or email-based login without heavy dependencies. The MIT license poses no restrictions."},"id":"django-authlib","links":{"html":"https://skillfed.io/packages/django-authlib","md":"https://skillfed.io/packages/django-authlib.md","pypi":"https://pypi.org/project/django-authlib/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-02","license_spdx":null,"license_treatment":"permissive","name":"django-authlib","python_support":"supports_current","summary":"Authentication utils for Django"},"popularity":{"monthly_downloads":96102,"position":13230,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.18.0"}
