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 →
Top 23 Python Authentication Projects
-
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-01Later 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.
-
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.
-
-
authlib
The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS, JWE, JWK, JWA, JWT included.
-
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/
-
-
-
-
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.
-
-
-
djoser – REST implementation of Django authentication system
-
-
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)
-
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.
-
Coercer
A python script to automatically coerce a Windows server to authenticate on an arbitrary machine through 12 methods.
-
-
Streamlit-Authenticator
A secure authentication module to manage user access in a Streamlit application.
-
django-two-factor-auth
Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.
-
-
-
-
-
-
Flask-HTTPAuth
Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Authentication discussion
Python Authentication related posts
-
Show HN: I made the easiest authentication library
-
Integrate Google OAuth2 Social Authentication into your Django Web App
-
Django AllAuth Chapter 4 - Customizing Django AllAuth UI
-
Building a SaaS app using Django
-
Django AllAuth Chapter 1 - The All-in-one solution for Auth in Django
-
The Art of API Design: Lessons Learned in Building VividBlog
-
Ask HN: What two software products should have a kid?
-
A note from our sponsor - Stream
getstream.io | 16 Nov 2025
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,831 |
| 19 | python-jose | 1,699 |
| 20 | privacyIDEA | 1,657 |
| 21 | Flask-OAuthlib | 1,451 |
| 22 | mongoaudit | 1,326 |
| 23 | Flask-HTTPAuth | 1,289 |