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

77Health
Library Go

go-jose

The canonical Go implementation of JSON Web Encryption, Signature, and Token standards (JWE, JWS, JWT).

541
Apache 2.0
Used by 20
43Health
Library npm

passport-jwt

A Passport.js strategy for authenticating requests using JSON Web Tokens

1,981
MIT
Used by 19
43Health
Library Go

otp

A Go library for generating and validating TOTP and HOTP one-time passcodes, compatible with Google Authenticator.

2,964
Apache 2.0
Used by 18
77Health
Library Go

ldap

A pure-Go LDAP v3 client implementing bind, search, modify, and extended operations for directory-backed authentication and identity systems.

2,461
MIT
Used by 17
82Health
Library npm

SimpleWebAuthn Browser

Browser-side WebAuthn client for passkey registration, authentication, and feature detection in web apps.

2,373
MIT
Used by 17
68Health
Library npm

node-jwks-rsa

A Node.js library that retrieves RSA, EC, and OKP signing keys from a JWKS endpoint, with caching and rate limiting built in.

876
MIT
Used by 17
59Health
Library Cargo

jsonwebtoken

Create and decode JSON Web Tokens in Rust in a strongly typed way

2,102
MIT
Used by 16
74Health
Library PyPI

bcrypt (Python)

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

1,508
Apache 2.0
Used by 16
93Health
SDK Cargo

aws-config

Resolves AWS credentials and shared configuration for every AWS SDK for Rust client.

686
Apache 2.0
Used by 16
98Health
SDK PyPI

Azure Identity (Python)

Microsoft Entra ID token authentication for Azure SDK clients in Python

5,621
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,141
BSD 3
Used by 15
69Health
Library npm

OTPAuth

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

1,488
MIT
Used by 15
83Health
Library npm

@nestjs/passport

The official NestJS integration module for the Passport authentication middleware

561
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,069
MIT
Used by 14
66Health
Library Go

go-grpc-middleware

A collection of reusable gRPC interceptors for Go covering auth, logging, retries, validation, and recovery.

6,758
Apache 2.0
Used by 14
80Health
Library Cargo

keyring-rs

Cross-platform Rust library for storing passwords and secrets in the OS-native credential store

773
Apache 2.0
Used by 14
79Health
Library npm

@nestjs/jwt

Official NestJS module for signing, verifying, and decoding JWTs

687
MIT
Used by 14
94Health
Library PyPI

Authlib

The ultimate Python library for building OAuth 1/2 and OpenID Connect clients and servers.

5,442
BSD 3
Used by 13
75Health
Framework Composer

Laravel Sanctum

Featherweight token and SPA authentication for Laravel applications

2,986
MIT
Used by 13
79Health
SDK npm

@supabase/ssr

The official framework-agnostic Supabase client for server-side rendering apps, handling cookie-based auth sessions.

213
MIT
Used by 13
38Health
SDK npm

passport-github2

A Passport.js strategy for authenticating Node.js applications with GitHub via OAuth 2.0.

236
MIT
Used by 12
72Health
SDK npm

@octokit/auth-app

GitHub App authentication strategy for JavaScript and Octokit

181
MIT
Used by 12
96Health
SDK npm

firebase-admin-node

Firebase Admin Node.js SDK for privileged, server-side access to Firebase Authentication, Firestore, Realtime Database, Cloud Messaging, and Storage.

1,748
Apache 2.0
Used by 11
87Health
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,353
BSD 3
Used by 11

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