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

65Health
Library Go

jwt

A zero-dependency Go implementation of JSON Web Tokens (JWT) with pluggable HMAC, RSA, RSA-PSS, ECDSA, and Ed25519 signing methods.

9,230
MIT
Used by 62
86Health
Library PyPI

PyJWT

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

5,706
MIT
Used by 44
89Health
Framework npm

Better Auth

The most comprehensive, framework-agnostic authentication and authorization framework for TypeScript.

30,086
MIT
Used by 37
81Health
Library npm

express-rate-limit

Basic IP rate-limiting middleware for Express to throttle repeated requests and protect public APIs and sensitive endpoints.

3,305
MIT
Used by 30
83Health
Library npm

otplib

TypeScript-first TOTP and HOTP library with a pluggable crypto/base32 architecture for Node, Bun, Deno, and browsers.

2,290
MIT
Used by 22
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
69Health
Library npm

OTPAuth

HOTP and TOTP one-time password library for Node.js, Deno, Bun, and browsers

1,482
MIT
Used by 15
48Health
Library npm

zxcvbn

A realistic password strength estimator that models how attackers actually guess passwords, not arbitrary composition rules.

16,062
MIT
Used by 14
88Health
Library Go

webauthn

A spec-conformant WebAuthn and FIDO2 passkey server library for Go, handling registration and authentication ceremonies for passwordless and multi-factor login.

1,338
BSD 3
Used by 11
67Health
Library PyPI

argon2-cffi

Secure, high-level password hashing for Python using Argon2

731
MIT
Used by 8
68Health
Library npm

zxcvbn-ts

A TypeScript rewrite of Dropbox's zxcvbn password strength estimator, with pluggable dictionaries and async matcher support.

1,224
MIT
Used by 5
96Health
SDK Go

Vault API

The official Go client library for HashiCorp Vault, providing typed access to secrets, auth methods, and system endpoints.

36,312
MPL-2.0
Used by 4
46Health
Library Composer

TwoFactorAuth

PHP library for TOTP-based two-factor authentication with pluggable QR code providers

1,188
MIT
Used by 3
46Health
Library Cargo

rpassword

Cross-platform Rust library for securely reading passwords from the terminal.

284
Apache 2.0
Used by 3
78Health
Library npm

iron-session

Secure, stateless, cookie-based session library for Next.js and any JavaScript framework

4,143
MIT
Used by 2
53Health
Library Composer

Bouncer

Elegant roles and abilities authorization for Laravel using Eloquent.

3,578
MIT
Used by 2
40Health
Library PyPI

zxcvbn-python

A Python port of Dropbox's zxcvbn - realistic password strength estimation with crack-time estimates and specific improvement feedback.

717
MIT
Used by 2
46Health
Library Cargo

openidconnect-rs

A strongly-typed, extensible Rust implementation of the OpenID Connect protocol for building relying-party authentication and OIDC provider integrations.

643
MIT
Used by 2
47Health
Library npm

@badgateway/oauth2-client

Dependency-free OAuth2 client for Node.js and browsers with PKCE and token refresh

338
MIT
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
35Health
Library Composer

scheb/2fa-bundle

A generic interface to add two-factor authentication to Symfony applications.

71
MIT
Used by 2
76Health
Library npm

accesscontrol

Role- and attribute-based access control (RBAC + ABAC) for Node.js, with enforced ownership, conditions, and require() gates.

2,330
MIT
Used by 1
43Health
Library PyPI

djangorestframework-api-key

API key permissions for Django REST Framework, with secure hashing and admin-managed keys.

743
MIT
Used by 1
56Health
Library Cargo

webauthn-rs

A Rust implementation of the WebAuthn Relying Party protocol for passkey and passwordless authentication.

709
MPL-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