Python Authentication

Open-source Python projects categorized as Authentication

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.

    Project mention: The Best GitHub Repositories For Django Developers. | | 2022-09-12
  • PyJWT

    JSON Web Token implementation in Python

    Project mention: How do I implement this? | | 2023-01-27

    I'm not in python but on they propose a lot of library including this one:

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • 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) -

    Project mention: CSRF State Not Equal Error using Flask-AppBuilder and Authlib | | 2023-01-05

    I have spent a ton of time and did a TON of debugging on this. In the interest of my time and not copying information, I have put all the debugging, as well as more information on the issue, on FAB's github page. Here is the link to that to learn more:

  • authlib

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

    Project mention: How could you do a Spotify login like the one Spotify Pie has? | | 2023-02-02

    May you looking for flask-dance or authlib

  • flask-login

    Flask user session management.

    Project mention: How to dynamically generate graphics and PDFs using Python an jinja | | 2023-01-08

    flask-login: Provides access to the current username

  • python-oauth2

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

  • flask-base

    A simple Flask boilerplate app with SQLAlchemy, Redis, User Authentication, and more.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • python-social-auth

    Social auth made simple

    Project mention: how to get user email with python social auth with facebook and save it | | 2022-04-06

    I'm trying to implement python-social-auth in django.

  • django-oauth-toolkit

    OAuth2 goodies for the Djangonauts!

    Project mention: The Best GitHub Repositories For Django Developers. | | 2022-09-12

    View on GitHub

  • OAuthLib

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

    Project mention: Easy Django library for Oauth2 | | 2022-06-27


  • 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)

    Project mention: The Best GitHub Repositories For Django Developers. | | 2022-09-12

    View on GitHub

  • djoser

    REST implementation of Django authentication system.

    Project mention: djoser is dead? | | 2023-03-12

    That's what I'd usually say too, but this issue does give some "neglected project" vibes - the version on pypi is still quite a bit older than what's in the repo.

  • Python Social Auth

    Python Social Auth - Application - Django

    Project mention: Django library for secure user account creation and login | | 2022-09-05

    For extended social oauth, I like django python social auth - Personally I found it a bit more plugin-and-forget.

  • rauth

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

  • Flask-OAuthlib


  • django-two-factor-auth

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

    Project mention: Otp for staff only? | | 2022-07-11

    The package I've found thus far, django-otp, doesn't have a good way to onboard admins. There's also django-two-factor-auth, but I haven't tried it yet.

  • privacyIDEA

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

    Project mention: If there any open source solution for forticlient ipsec vpn as a second factor for 2fa | | 2023-01-17
  • mongoaudit

    🔥 A powerful MongoDB auditing and pentesting tool 🔥

  • python-jose

    A JOSE implementation in Python

    Project mention: App crashed on Heroku-22 and Python 3.11 upgrade. | | 2023-02-07

    Everything that's in `/app` is the compiled application; changes should be made locally and redeployed. Looking at the `python-jose` package, they've made the changes already ( so should be able to update `python-jose` locally (`requirements.txt`, I think?) and re-deploy to solve this.

  • dj-rest-auth

    Authentication for Django Rest Framework

    Project mention: djoser is dead? | | 2023-03-12

    I was using djoser in the past. Now Im using very similar dj-rest-auth

  • email2phonenumber

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

    Project mention: Partial Number Building | | 2022-11-09

    There's a tool for this with NANPA formats

  • Flask-HTTPAuth

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

    Project mention: [AF] Role-based authentication, alternatives to [Flask-User]? | | 2022-09-09

    There is also

  • Coercer

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

    Project mention: Specific user being targeted by scammers? + possible network breach? looking for advice.. | | 2023-02-01
  • SaaSHub

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

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). The latest post mention was on 2023-03-12.

Python Authentication related posts


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

Project Stars
1 django-allauth 7,835
2 PyJWT 4,519
3 Flask-AppBuilder 4,096
4 authlib 3,572
5 flask-login 3,237
6 python-oauth2 2,967
7 flask-base 2,857
8 python-social-auth 2,829
9 django-oauth-toolkit 2,772
10 OAuthLib 2,563
11 django-rest-auth 2,364
12 djoser 2,229
13 Python Social Auth 1,787
14 rauth 1,604
15 Flask-OAuthlib 1,448
16 django-two-factor-auth 1,374
17 privacyIDEA 1,321
18 mongoaudit 1,267
19 python-jose 1,257
20 dj-rest-auth 1,224
21 email2phonenumber 1,207
22 Flask-HTTPAuth 1,155
23 Coercer 1,134
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives