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.

    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. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. PyJWT

    JSON Web Token implementation in Python

  4. 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/

    Project mention: Top 8 Open-Source CRUD Projects with the Most GitHub Stars | dev.to | 2024-09-04

    GitHub https://github.com/dpgaspar/Flask-AppBuilder GitHub Stars 4.6k Most Recent Update on GitHub 2 days ago Open Source License BSD-3-Clause Number of Active Contributors This Year 11 Acceptance of External PRs Yes Official Website / Documentation https://flask-appbuilder.readthedocs.io/en/latest/

  5. authlib

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

  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. SaaSHub

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

    SaaSHub 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.

  13. 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)

  14. email2phonenumber

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

    Project mention: Integrating Email Aliases with Bitwarden | news.ycombinator.com | 2024-07-08

    Here's a fun one: https://www.martinvigo.com/email2phonenumber/

    The more places you use the same email address, the greater your exposure.

  15. Python Social Auth

    Python Social Auth - Application - Django

  16. Coercer

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

  17. 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.

    Project mention: Supabase Python | dev.to | 2024-08-30

    supabase-py was originally started by maintainer lqmanh in September of 2020, and was shortly after joined by fedden and J0 (who went on to become a full time member of the Supabase Team). In recent years development has been driven by silentworks and juancarlospaco who have both been instrumental in the push to reaching feature parity with supabase-js.

  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. rauth

    A Python library for OAuth 1.0/a, 2.0, and Ofly.

  22. python-jose

    A JOSE implementation in Python

  23. privacyIDEA

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

  24. Flask-OAuthlib

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

  25. mongoaudit

    🔥 A powerful MongoDB auditing and pentesting tool 🔥

  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

  • 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
  • Django Authentication Tutorial: Login, Logout, Signup, Password Change, and Password Reset

    2 projects | dev.to | 26 Jan 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Mar 2025
    SaaSHub helps you find the best software and product alternatives 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 9,807
2 PyJWT 5,300
3 Flask-AppBuilder 4,790
4 authlib 4,733
5 flask-login 3,607
6 django-oauth-toolkit 3,218
7 python-oauth2 2,996
8 OAuthLib 2,855
9 python-social-auth 2,823
10 djoser 2,581
11 django-rest-auth 2,415
12 email2phonenumber 2,278
13 Python Social Auth 2,059
14 Coercer 1,917
15 supabase-py 1,893
16 Streamlit-Authenticator 1,827
17 django-two-factor-auth 1,750
18 dj-rest-auth 1,745
19 rauth 1,601
20 python-jose 1,584
21 privacyIDEA 1,572
22 Flask-OAuthlib 1,453
23 mongoaudit 1,325

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai