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

37Health
Library npm

passport-http

HTTP Basic and Digest authentication strategies for Passport.js and Node.js

261
MIT
Used by 3
64Health
Library Cargo

ssh-key

A pure Rust implementation of SSH key, certificate, and signature file formats.

247
Other
Used by 3
37Health
SDK npm

passport-discord

A Passport.js OAuth2 strategy for authenticating users with Discord accounts.

170
Other
Used by 3
38Health
SDK npm

react-turnstile

A minimal React component and hook for rendering Cloudflare Turnstile CAPTCHA challenges.

158
MIT
Used by 3
73Health
Library npm

node-saml

A framework-agnostic SAML 2.0 authentication library for Node.js, handling AuthnRequest/Response generation, XML signature validation, and single logout.

135
MIT
Used by 3
29Health
SDK npm

passport-microsoft

A Passport.js strategy for authenticating users with Microsoft Graph via OAuth 2.0

46
MIT
Used by 3
69Health
Library npm

scim-patch

TypeScript library that validates and applies RFC 7644 SCIM PATCH operations to user and group resources.

31
Other
Used by 3
71Health
Framework npm

hapi

A config-driven Node.js framework for building HTTP APIs and web servers with built-in validation, caching, and auth.

14,790
BSD 3
Used by 2
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
92Health
SDK npm

AT Protocol API (@atproto/api)

The official TypeScript client for AT Protocol and Bluesky, with session management, OAuth, moderation, and RichText handling built in.

9,659
MIT
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
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
82Health
Library Composer

Laravel Passport

Full OAuth2 server and API authentication for Laravel, ready in minutes.

3,418
MIT
Used by 2
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
82Health
Library npm

workers-oauth-provider

OAuth 2.1 authorization provider for Cloudflare Workers and remote MCP servers, with built-in CIMD support.

1,877
MIT
Used by 2
87Health
Library Composer

Symfony Security Core

Infrastructure for authentication and sophisticated authorization, decoupled from user credential storage.

1,876
MIT
Used by 2
58Health
Library Composer

Symfony Security CSRF

Generate and validate CSRF tokens to protect PHP applications against cross-site request forgery.

1,760
MIT
Used by 2
80Health
Library PyPI

django-axes

Track failed login attempts and lock out brute-force attackers on Django-powered sites.

1,698
MIT
Used by 2
66Health
Library Go

sessions

Gin middleware for session management with pluggable cookie, Redis, Memcached, MongoDB, GORM, and PostgreSQL backends.

1,568
MIT
Used by 2
66Health
Library Composer

OTPHP

A PHP library for generating TOTP and HOTP one-time passwords per RFC 4226 and RFC 6238

1,492
MIT
Used by 2
83Health
SDK PyPI

MSAL Python

Official Microsoft Authentication Library for Python, for Microsoft Entra ID sign-in and token acquisition

972
MIT
Used by 2

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