Python Authorization

Open-source Python projects categorized as Authorization

Missing quite a few other open source projects in this space like SuperTokens (https://supertokens.com) and Keycloak.

Top 23 Python Authorization Projects

Authorization
  1. OPAL

    Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...) (by permitio)

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. OAuthLib

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

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

  5. django-rules

    Awesome Django authorization, without the database

  6. pycasbin

    An authorization library that supports access control models like ACL, RBAC, ABAC in Python

  7. KubiScan

    A tool to scan Kubernetes cluster for risky permissions

  8. Autorize

    Automatic authorization enforcement detection extension for burp suite written in Jython developed by Barak Tawily in order to ease application security people work and allow them perform an automatic authorization tests

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

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

  11. authx

    Ready-to-use and customizable Authentications and Oauth2 management for FastAPI ✨

  12. Python Social

    Python Social Auth - Core

  13. django-rest-framework-passwordless

    Passwordless Auth for Django REST Framework

  14. easyauth

    Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.

  15. access

    Access, a centralized portal for employees to transparently discover, request, and manage their access for all internal systems needed to do their jobs (by discord)

  16. drf-social-oauth2

    drf-social-oauth2 makes it easy to integrate Django social authentication with major OAuth2 providers, i.e., Facebook, Twitter, Google, etc.

  17. route-detect

    Find authentication (authn) and authorization (authz) security bugs in web application routes.

  18. simple-auth0-fastapi-react-app

    A simple application for authentication, authorization and user management based on Auth0. 🐍 Python ⚡ FastAPI + React.

  19. raider

    OWASP Raider: a novel framework for manipulating the HTTP processes of persistent sessions (by OWASP)

  20. django-casbin

    Authorization middleware for Django based on PyCasbin

  21. sanic-security

    An async security library for the Sanic framework.

  22. fastapi-auth-middleware

    Lightweight auth middleware for FastAPI that just works. Fits most auth workflows with only a few lines of code

  23. deny

    Python authorization library

  24. EdgeAuth-Token-Python

    Akamai Authorization Token for Python

  25. targe

    Policy based authorization library built for python.

  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 Authorization discussion

Log in or Post with

Python Authorization related posts

  • The Art of API Design: Lessons Learned in Building VividBlog

    1 project | dev.to | 8 Jun 2024
  • How to Model Cloud-Native Authorization

    1 project | dev.to | 13 May 2024
  • 45 Questions to Ask Yourself Before Modeling Authorization

    1 project | dev.to | 9 May 2024
  • OPA, Cedar, OpenFGA: Why are Policy Languages Trending Right Now?

    1 project | dev.to | 2 May 2024
  • Top 5 Access Control Features You Should Implement in 2024

    2 projects | dev.to | 27 Dec 2023
  • How Reddit Built Authorization with OPA

    2 projects | dev.to | 18 Dec 2023
  • OPAL: A Flexible, Self-Hosted Authorization Solution Inspired by Netflix's AuthZ Strategy

    1 project | /r/selfhosted | 11 Dec 2023
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →

Index

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

# Project Stars
1 OPAL 5,348
2 OAuthLib 2,924
3 supabase-py 2,194
4 django-rules 1,934
5 pycasbin 1,593
6 KubiScan 1,398
7 Autorize 1,098
8 Authomatic 1,045
9 authx 976
10 Python Social 887
11 django-rest-framework-passwordless 736
12 easyauth 624
13 access 416
14 drf-social-oauth2 285
15 route-detect 274
16 simple-auth0-fastapi-react-app 110
17 raider 105
18 django-casbin 1
19 sanic-security 96
20 fastapi-auth-middleware 93
21 deny 85
22 EdgeAuth-Token-Python 32
23 targe 10

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com

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