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

48Health
Library npm

jsonwebtoken

The de facto Node.js library for signing, verifying, and decoding JSON Web Tokens.

18,189
MIT
Used by 93
88Health
Library npm

jose

Zero-dependency JWT, JWS, JWE, and JWK toolkit for Node.js, browsers, and edge runtimes.

7,812
MIT
Used by 66
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
72Health
Library npm

NextAuth.js

Open-source authentication for Next.js with OAuth, OIDC, email, and passkey sign-in.

28,374
Other
Used by 26
60Health
Library npm

jwt-decode

A lightweight TypeScript library for decoding JSON Web Token payloads and headers in the browser and Node.js.

3,399
MIT
Used by 25
90Health
Library npm

openid-client

Certified OAuth 2 and OpenID Connect client for every modern JavaScript runtime.

2,421
MIT
Used by 24
74Health
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.

875
MIT
Used by 17
65Health
Library Cargo

jsonwebtoken

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

2,096
MIT
Used by 16
78Health
Library npm

@nestjs/jwt

Official NestJS module for signing, verifying, and decoding JWTs

688
MIT
Used by 14
87Health
Library PyPI

Authlib

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

5,425
BSD 3
Used by 13
92Health
SDK npm

@clerk/backend

The official JavaScript SDK for Clerk's Backend API and JWT session verification.

1,759
MIT
Used by 8
88Health
Library Go

jwx

A complete, opinionated Go implementation of the JOSE stack: JWT, JWS, JWE, JWK, and JWA.

2,427
MIT
Used by 7
91Health
Library Go

oidc

OpenID Connect (OIDC) and OAuth2 client and server library for Go, certified by the OpenID Foundation.

1,894
Apache 2.0
Used by 3
75Health
Library Composer

Firebase php-jwt

A simple PHP library to encode and decode JSON Web Tokens conforming to the JWT spec.

9,808
BSD 3
Used by 2
89Health
Library Composer

lcobucci/jwt

A simple, RFC 7519-compliant PHP library for creating, signing, and validating JSON Web Tokens

7,478
BSD 3
Used by 2
88Health
SDK npm

node-auth0

Official Node.js client library for the Auth0 identity platform's Authentication and Management APIs.

683
MIT
Used by 2
76Health
Library PyPI

joserfc

A comprehensive Python implementation of the JOSE RFCs — JWS, JWE, JWK, JWA, and JWT — with a strict, extensible, security-first API.

178
BSD 3
Used by 2
57Health
Library Composer

JWT Auth for Laravel

JSON Web Token authentication for Laravel and Lumen APIs, with token issuing, refresh and blacklisting.

11,494
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
65Health
Library Composer

jwt-auth (PHP Open Source Saver)

Actively maintained JSON Web Token authentication for Laravel and Lumen APIs.

843
MIT
Used by 1
77Health
Library npm

@fastify/jwt

JWT authentication plugin for Fastify, decorating routes with sign, verify, and decode utilities built on fast-jwt.

587
MIT
Used by 1
50Health
Library Composer

php-jwt

Ultra-lightweight, dependency-free JSON Web Token (JWT) library for PHP 7 and 8.

300
MIT
Used by 1
74Health
Library Cargo

jwt-simple

A fast, safe-by-default Rust library for creating and verifying JWT and JWE tokens across every major signing and encryption algorithm.

282
Other
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