Python Authentication

Open-source Python projects categorized as Authentication | Edit details

Top 23 Python Authentication Projects

  • GitHub repo django-allauth

    Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.

    Project mention: Styling django-allauth by overriding its templates | | 2022-01-22

    Next, we'll copy the base template that all the django-allauth pages use so we can override it. The easiest way to get the markup from allauth's templates is to visit the allauth GitHub templates directory. Copy the markup from the base.html file into your project at templates/account/base.html.

  • GitHub repo PyJWT

    JSON Web Token implementation in Python

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo 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: Splitting flask app into multiple files | | 2021-03-12

    You can also try FlaskAppbuilder: Some of the large project like Apache Airflow, Apache Superset are built on top of it.

  • GitHub repo flask-login

    Flask user session management.

    Project mention: How to implement user_loader callback in Flask-Login | | 2021-10-27

    The example code provided by flask-login does it this way, but this only works because it's pulling the User objects from a global hard-coded dictionary, not as in a real-world scenario like a database, where the DB must be checked and User objects created after the user enters their login credentials. And I can't seem to find any other example code that illustrates using a database with flask-login.

  • GitHub repo python-oauth2

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

  • GitHub repo authlib

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

    Project mention: 以 Authlib 實現 OAuth 1 的 Twitter 登入 | | 2021-11-24
  • GitHub repo python-social-auth

    Social auth made simple

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo flask-base

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

    Project mention: Any good example projects that I can use to compare my own flask site? | | 2021-02-22

    I came across (flask-base)[], which is a nice and robust boilerplate for large flask apps, you could use this as a reference point.

  • GitHub repo django-oauth-toolkit

    OAuth2 goodies for the Djangonauts!

    Project mention: What to store in database in password files when using login with facebook API. | | 2021-12-20

    You would need to store whatever identifier the oauth provider gives you along with access and refresh tokens. That said, I wouldn't try to implement this from scratch, since it is not trivial. Try django-oauth-toolkit

  • GitHub repo OAuthLib

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

  • GitHub repo 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: Registration and Authentication in Django apps with dj-rest-auth | | 2021-03-15

    If you are a Django developer and you are coding a REST API with authentication, you will find the dj-rest-auth package very useful. This project is a fork from django-rest-auth that is no longer maintained. As said, dj-rest-auth provides a set of REST API endpoints to manage user registration and authentication. After an easy installation and configuration, you will have endpoints for:

  • GitHub repo djoser

    REST implementation of Django authentication system.

    Project mention: What is the best library for Django API authentication? | | 2021-08-12

    djoser if you are using DRF

  • GitHub repo Python Social Auth

    Python Social Auth - Application - Django

  • GitHub repo rauth

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

  • GitHub repo Flask-OAuthlib


  • GitHub repo mongoaudit

    🔥 A powerful MongoDB auditing and pentesting tool 🔥

    Project mention: Mongoaudit: CLI tool for auditing MongoDB servers | | 2021-05-05
  • GitHub repo privacyIDEA

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

    Project mention: Has anyone tried privacyIDEA? | | 2021-09-16

    I'm looking to add MFA to a lot of services I host. I came across privacyIDEA. Has anyone tried it before? How's it compare to something like Duo, which is what I was initially considering using.

  • GitHub repo django-two-factor-auth

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

    Project mention: How should I secure my Django admin login page? | | 2021-07-25

    I also use this on one of my sites . Has worked pretty well. Just be careful when configuring it in (particularly the redirect URLs) and when customizing the templates.

  • GitHub repo python-jose

    A JOSE implementation in Python

  • GitHub repo Authomatic

    Simple yet powerful authorization / authentication client library for Python web applications.

    Project mention: Seeking experienced advice on Authentication providers/libraries for python web app | | 2021-05-24

    I'm seeking some advice hopefully born of experience about authentication solutions for a Python based webapp. I'm interested in SaaS solutions like Auth0 and AzureAD, or libraries like Authomatic (

  • GitHub repo dj-rest-auth

    Authentication for Django Rest Framework

    Project mention: Dj Rest-auth with Google Signin -- flutter app | | 2021-12-18

    Add minimal example of Google Social Login in the document of Social Authentication by YZ775 · Pull Request #336 · iMerica/dj-rest-auth · GitHub

  • GitHub repo firebase-admin-python

    Firebase Admin Python SDK

    Project mention: I need suggestions for building a web application which show data in real time it also includes TCP socket programming. Please read and Help | | 2021-09-07

    They have client side and server side libraries. I've used it on a project recently where I used the python library with flask on the server and the js library on the frontend with Vue. This means you do not need to build an API between your client and server for database specific things, which is awesome. I hate the boilerplate REST api code that I've built 100 times. The server app can push code into the database, and the client can subscribe to changes and get updates in real time with a few lines of code.

  • GitHub repo Python Social

    Python Social Auth - Core

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 2022-01-22.

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 6,965
2 PyJWT 4,084
3 Flask-AppBuilder 3,627
4 flask-login 2,958
5 python-oauth2 2,941
6 authlib 2,893
7 python-social-auth 2,809
8 flask-base 2,693
9 django-oauth-toolkit 2,464
10 OAuthLib 2,342
11 django-rest-auth 2,295
12 djoser 2,039
13 Python Social Auth 1,622
14 rauth 1,589
15 Flask-OAuthlib 1,428
16 mongoaudit 1,229
17 privacyIDEA 1,161
18 django-two-factor-auth 1,121
19 python-jose 1,011
20 Authomatic 980
21 dj-rest-auth 805
22 firebase-admin-python 697
23 Python Social 684
Find remote jobs at our new job board There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.