Thanks to visit codestin.com
Credit goes to www.libhunt.com

Python Authentication

Open-source Python projects categorized as Authentication

Top 23 Python Authentication Projects

Authentication
  1. django-allauth

    Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication. 🔁 Mirror of https://codeberg.org/allauth/django-allauth/

    Project mention: Creating a To-Do app with Django and HTMX - Part 1: Creating the Django project with uv | dev.to | 2025-01-01

    Later we may want to incorporate django-allauth in the project, but we want to keep it simple and have something up and running soon, so let's just create an app called core, create a UserProfile class inheriting from AbstractUser, and set our project to use this class as its authentication model.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. PyJWT

    JSON Web Token implementation in Python

  4. authlib

    The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS, JWE, JWK, JWA, JWT included.

  5. Flask-AppBuilder

    Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/

  6. flask-login

    Flask user session management.

  7. django-oauth-toolkit

    OAuth2 goodies for the Djangonauts!

  8. python-oauth2

    A fully tested, abstract interface to creating OAuth clients and servers.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. OAuthLib

    A generic, spec-compliant, thorough implementation of the OAuth request-signing logic

  11. python-social-auth

    Social auth made simple

  12. djoser

    REST implementation of Django authentication system.

    Project mention: This Week In Python | dev.to | 2025-03-21

    djoser – REST implementation of Django authentication system

  13. email2phonenumber

    A OSINT tool to obtain a target's phone number just by having his email address

  14. django-rest-auth

    This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)

  15. supabase-py

    Python Client for Supabase. Query Postgres from Flask, Django, FastAPI. Python user authentication, security policies, edge functions, file storage, and realtime data streaming. Good first issue.

  16. Coercer

    A python script to automatically coerce a Windows server to authenticate on an arbitrary machine through 12 methods.

  17. Python Social Auth

    Python Social Auth - Application - Django

  18. Streamlit-Authenticator

    A secure authentication module to manage user access in a Streamlit application.

  19. django-two-factor-auth

    Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.

  20. dj-rest-auth

    Authentication for Django Rest Framework

  21. python-jose

    A JOSE implementation in Python

  22. privacyIDEA

    :closed_lock_with_key: multi factor authentication system (2FA, MFA, OTP, FIDO Server)

  23. Flask-OAuthlib

    YOU SHOULD USE https://github.com/lepture/authlib

  24. mongoaudit

    🔥 A powerful MongoDB auditing and pentesting tool 🔥

  25. Flask-HTTPAuth

    Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Authentication discussion

Log in or Post with

Python Authentication related posts

  • Show HN: I made the easiest authentication library

    1 project | news.ycombinator.com | 18 Mar 2025
  • Integrate Google OAuth2 Social Authentication into your Django Web App

    1 project | dev.to | 18 Sep 2024
  • Django AllAuth Chapter 4 - Customizing Django AllAuth UI

    1 project | dev.to | 29 Jul 2024
  • Building a SaaS app using Django

    8 projects | dev.to | 8 Jul 2024
  • Django AllAuth Chapter 1 - The All-in-one solution for Auth in Django

    2 projects | dev.to | 25 Jun 2024
  • The Art of API Design: Lessons Learned in Building VividBlog

    1 project | dev.to | 8 Jun 2024
  • Ask HN: What two software products should have a kid?

    2 projects | news.ycombinator.com | 5 Feb 2024
  • A note from our sponsor - Stream
    getstream.io | 15 Nov 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

What are some of the best open-source Authentication projects in Python? This list will help you:

# Project Stars
1 django-allauth 10,202
2 PyJWT 5,516
3 authlib 5,100
4 Flask-AppBuilder 4,918
5 flask-login 3,667
6 django-oauth-toolkit 3,294
7 python-oauth2 3,003
8 OAuthLib 2,937
9 python-social-auth 2,823
10 djoser 2,675
11 email2phonenumber 2,512
12 django-rest-auth 2,419
13 supabase-py 2,308
14 Coercer 2,131
15 Python Social Auth 2,121
16 Streamlit-Authenticator 2,038
17 django-two-factor-auth 1,834
18 dj-rest-auth 1,830
19 python-jose 1,699
20 privacyIDEA 1,657
21 Flask-OAuthlib 1,451
22 mongoaudit 1,326
23 Flask-HTTPAuth 1,289

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?