Authentication & Authorization Packages
Authentication, authorization, and identity/session libraries for handling login, permissions, and access control securely (JWT, Passport, Sanctum).
Packages in Authentication & Authorization
Kind
Sort:Used by Most Apps
supertokens-python
The official Python SDK that connects a FastAPI, Flask, or Django backend to the open-source SuperTokens authentication service.
react-apple-signin-auth
A drop-in React button and helper API for Sign in with Apple, built directly on Apple's official JS SDK.
@fastify/session
A server-side session plugin for Fastify with signed cookies, pluggable stores, and first-class TypeScript support.
mail-auth
A Rust library implementing DKIM, DKIM2, SPF, DMARC, and ARC for signing and verifying email authenticity.
Webauthn Lib
PHP library implementing FIDO2 and WebAuthn for passkey and security-key authentication.
spake2
Pure Rust implementation of the SPAKE2 password-authenticated key exchange protocol using Curve25519.
memorystore
A leak-free, LRU-backed session store for express-session, with configurable TTL and pruning.
CakePHP Authentication
PSR-7 middleware authentication plugin for CakePHP with pluggable authenticators and identifiers.
Logto JS Core SDK
The framework-agnostic TypeScript core that powers Logto's entire JavaScript SDK family for OIDC authentication.
django-scim2
A provider-side SCIM 2.0 implementation for Django, enabling automated user and group provisioning.
machineid-rs
Build a unique, encrypted machine ID (HWID) in Rust from customizable hardware and OS components.
express-bearer-token
Express middleware that extracts RFC 6750 bearer tokens from request body, query, headers, or cookies.
picky
Portable X.509, PKI, JOSE and HTTP signature primitives for Rust
@sanity/preview-url-secret
Generates and validates signed, expiring secrets that gate draft-mode preview access for Sanity Studio-driven front ends.
pwhash
A pure-Rust library for hashing and verifying passwords with bcrypt, SHA-crypt, MD5-crypt, and other Unix crypt(3) algorithms.
Socialite Apple Provider
An Apple OAuth2 provider that adds Sign in with Apple to Laravel Socialite.
yubico-rs
A Rust client for Yubico's OTP validation API, letting apps verify YubiKey one-time passwords over HTTP.
python3-openid
OpenID 2.0 authentication library for Python 3, with relying-party (consumer) and identity-provider (server) support.
nkeys
A Rust implementation of NATS nkeys: Ed25519 identity and auth keypairs.
Microsoft Authentication Extensions for Python
Cross-platform encrypted token cache persistence for MSAL Python, backed by DPAPI, Keychain, and libsecret.
Discord (Socialite Provider)
Discord OAuth2 provider for Laravel Socialite — add "Sign in with Discord" to any Laravel app.
digest-fetch
A lightweight HTTP Digest and Basic authentication client that wraps fetch and node-fetch.
FastAPI Users DB SQLAlchemy
SQLAlchemy database adapter for the FastAPI Users auth library.
keyring-core
A cross-platform Rust library for storing and retrieving passwords and secrets in secure OS credential stores.