Skip to content

django-allauth

Django apps for signup, login, account management and social/OAuth sign-in.

Stars
10.4k
Forks
3.1k
Licence
MIT
Language
Python
Last update
7 days ago
Type
Library

What it is

django-allauth is a set of Django applications that handle user registration, login, account management, and sign-in through third-party (social) accounts. Its description also lists authentication, OAuth2, OpenID Connect, SAML, and two-factor authentication among its topics. Developers add it to a Django project instead of writing these login flows from scratch.

  • Add sign-up and login pages to a Django site
  • Let users sign in with third-party social accounts
  • Manage user accounts and email addresses within a Django project

Great for

  • Django developers who need signup and login for a web project
  • Teams that want social login through third-party accounts
  • Projects that need built-in account management such as email handling and password flows

Not ideal for

  • Non-Django projects, since it is built as Django applications and will not fit other frameworks
  • People looking for a finished login website rather than code to integrate into an app
Step-by-step guide: how to use django-allauthInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Install with a package manager

    You'll need: Python · Django

    Clone the repository

    git clone https://github.com/pennersr/django-allauth
  2. 2

    Run it

    • Install the package into your Django project environment following the project documentation
    • Add the allauth apps and settings to your Django configuration
    • Include allauth URLs in your project's URL configuration
    • Run migrations and start the development server
  3. 3

    Get the most out of it

    • Enable social providers you need through Django settings, as described in the project docs
    • Consider the two-factor authentication features listed in the project topics if your app needs them

Downloads

Strengths

  • Covers registration, login, account management, and social sign-in in one integrated package
  • Open source under the MIT license
  • Has a large community following, with about 10,000 GitHub stars at time of listing

Trade-offs

  • The README was truncated in the source provided, so specific setup details could not be verified here
  • Being a developer library, it requires Django knowledge to integrate and configure
  • No formal release is listed in the metadata, so version stability should be checked before use

How it compares

ProjectStarsTypeLevelUpdatedBest for
django-allauth (this)10.4kLibraryintermediate7 days agoDjango developers who need signup and login for a web project
passport23.5kLibraryintermediate2.2 years agoNode.js and Express developers who need to add login to an existing app
better-auth30.6kLibraryintermediate5 days agoTypeScript developers who need login and access control in their own app
devise24.4kLibraryintermediate1 months agoRails developers who need standard email-and-password login quickly
jwt-auth11.5kLibraryintermediate13 days agoLaravel developers building token-based APIs
hackathon-starter35.3kLibraryintermediate7 days agoDevelopers starting a hackathon project who want a working login system quickly

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.