Packages

Authentication & Authorization Packages

Authentication, authorization, and identity/session libraries for handling login, permissions, and access control securely (JWT, Passport, Sanctum).

289 packages

Packages in Authentication & Authorization

86Health
Library PyPI

PyJWT

A Python implementation of RFC 7519 for encoding, decoding, and verifying JSON Web Tokens.

5,706
MIT
Used by 44
98Health
Library PyPI

google-auth

The foundational Python library for authenticating to Google Cloud and Google APIs with OAuth2, service accounts, and Application Default Credentials.

5,391
Apache 2.0
Used by 37
75Health
Library PyPI

bcrypt (Python)

A Python library for secure password hashing using the bcrypt algorithm with an adjustable work factor

1,501
Apache 2.0
Used by 16
98Health
SDK PyPI

Azure Identity (Python)

Microsoft Entra ID token authentication for Azure SDK clients in Python

5,609
MIT
Used by 15
46Health
Library PyPI

itsdangerous

A small Python toolkit for cryptographically signing data so you can trust it hasn't been tampered with when it comes back from an untrusted client.

3,135
BSD 3
Used by 15
67Health
Library PyPI

argon2-cffi

Secure, high-level password hashing for Python using Argon2

731
MIT
Used by 8
80Health
Library PyPI

OAuthLib

Generic, spec-compliant OAuth1, OAuth2, and OpenID Connect implementation for Python

2,982
BSD 3
Used by 6
53Health
Library PyPI

PyOTP

Python library for generating and verifying TOTP/HOTP one-time passwords for 2FA

3,339
MIT
Used by 5
64Health
Library PyPI

Flask-WTF

Simple integration of Flask and WTForms with built-in CSRF, file upload, and reCAPTCHA support

1,510
BSD 3
Used by 5
53Health
SDK PyPI

hvac

Python client library for HashiCorp Vault's secrets, authentication, and system-backend REST APIs.

1,318
Apache 2.0
Used by 4
82Health
Library PyPI

django-allauth

Integrated Django app for authentication, registration, and social login

10,374
MIT
Used by 3
63Health
Library PyPI

fastapi-users

Ready-to-use, fully customizable user registration, authentication, and management for FastAPI applications.

6,243
MIT
Used by 3
48Health
Library PyPI

Flask-Limiter

Rate limiting for Flask applications with pluggable storage backends and per-route limits

1,207
MIT
Used by 3
85Health
Library PyPI

django-oauth-toolkit

Turns any Django project into a spec-compliant OAuth 2.0 and OpenID Connect authorization server.

3,340
Other
Used by 2
91Health
SDK PyPI

supabase-py

The official Python client for Supabase, wrapping Postgres, Auth, Storage, Edge Functions, and Realtime in one typed SDK.

2,593
MIT
Used by 2
86Health
Library PyPI

Social Auth App Django

Django integration for python-social-auth, adding social login and registration to Django projects

2,145
BSD 3
Used by 2
44Health
Library PyPI

requests-kerberos

Kerberos and GSSAPI authentication support for Python Requests

305
Other
Used by 2
58Health
Library PyPI

python-gssapi

Python bindings for RFC 2743/2744 GSSAPI, giving Python code direct, Pythonic access to Kerberos and other GSSAPI security mechanisms.

117
Other
Used by 2
73Health
Framework PyPI

Flask-AppBuilder

A rapid-application-development framework on Flask with automatic CRUD, REST APIs, and fine-grained role-based security.

4,963
BSD 3
Used by 1
92Health
Library PyPI

Kiota Authentication Azure

Azure Identity-backed authentication provider for Python API clients generated by Microsoft Kiota.

3,822
MIT
Used by 1
70Health
Library PyPI

Djoser

Ready-made Django REST Framework views for registration, login, password reset, and account management.

2,678
MIT
Used by 1
48Health
Library PyPI

django-rules

Object-level permissions and rule-based authorization for Django, with no database required.

1,974
MIT
Used by 1
56Health
Library PyPI

dj-rest-auth

Secure drop-in authentication endpoints for Django REST Framework.

1,871
MIT
Used by 1
85Health
SDK PyPI

firebase-admin-python

Google's official Python SDK for privileged server-side access to Firebase Auth, Firestore, Cloud Messaging, Storage, and Remote Config.

1,159
Apache 2.0
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers