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

51Health
SDK npm

React OAuth (Google)

Typed React hooks and components for Google Sign-In, One Tap, and OAuth2 login built on Google's Identity Services SDK.

1,339
MIT
Used by 6
49Health
Library PyPI

python3-saml

Add SAML 2.0 single sign-on and single logout to Python applications

758
MIT
Used by 6
71Health
Library npm

@fastify/cookie

Fast, secure cookie parsing and signing plugin for Fastify applications

301
MIT
Used by 6
85Health
Library npm

xml-crypto

TypeScript library for signing, verifying, and encrypting XML documents using the W3C XMLDSig and XMLEnc standards.

214
MIT
Used by 6
66Health
Library npm

set-cookie-parser

Parse raw Set-Cookie header values into structured JavaScript cookie objects

198
MIT
Used by 6
22Health
Library npm

passport-headerapikey

A lightweight Passport.js strategy for authenticating requests with a header-based API key.

28
MIT
Used by 6
95Health
Tool Go

Open Policy Agent (OPA)

Open source policy engine for unified authorization and compliance decisions across your stack.

12,396
Apache 2.0
Used by 5
62Health
Library PyPI

djangorestframework-simplejwt

A JSON Web Token authentication plugin for Django REST Framework, with token rotation, blacklisting, and pluggable signing built in.

4,335
MIT
Used by 5
78Health
Library Composer

league/oauth2-client

A framework-agnostic PHP client for building OAuth 2.0 login and API-authorization flows.

3,819
MIT
Used by 5
64Health
Library PyPI

Flask-Login

User authentication and session management for Flask applications

3,679
MIT
Used by 5
52Health
Library PyPI

PyOTP

Python library for generating and verifying TOTP/HOTP one-time passwords for 2FA

3,345
MIT
Used by 5
45Health
Library npm

speakeasy

A Node.js library for generating and verifying RFC 4226 (HOTP) and RFC 6238 (TOTP) one-time passcodes for two-factor authentication.

2,754
MIT
Used by 5
71Health
Library PyPI

Standard Webhooks (Python)

Python reference implementation for verifying Standard Webhooks HMAC-signed webhook payloads

1,779
Apache 2.0
Used by 5
78Health
Library PyPI

Flask-WTF

Simple integration of Flask and WTForms with built-in CSRF, file upload, and reCAPTCHA support

1,512
BSD 3
Used by 5
66Health
Library npm

zxcvbn-ts

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

1,236
MIT
Used by 5
46Health
Library Cargo

oauth2-rs

An extensible, strongly-typed Rust implementation of the OAuth2 protocol (RFC 6749) with PKCE, introspection, revocation, and device flow support.

1,212
Apache 2.0
Used by 5
44Health
Library PyPI

ldap3

A pure Python LDAP v3 client library for querying and managing directory servers without any C bindings or system OpenLDAP dependency.

936
Other
Used by 5
43Health
Library npm

node-sshpk

Parse, convert, fingerprint, sign and verify SSH and X.509 keys in pure Node.js, with zero dependency on ssh-keygen or OpenSSL binaries.

200
MIT
Used by 5
39Health
Library npm

passport-openidconnect

OpenID Connect authentication strategy for Passport, letting Node.js apps delegate login to any compliant identity provider.

200
MIT
Used by 5
38Health
SDK npm

passport-apple

Passport.js OAuth2 strategy for Sign in with Apple, handling Apple's JWT client-secret generation and POST-based callback flow.

145
MIT
Used by 5
97Health
SDK Go

Vault API

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

36,424
MPL-2.0
Used by 4
58Health
Library npm

SAML Jackson (Polis)

Open-source SAML 2.0 and OIDC library that turns enterprise SSO logins into a plain OAuth 2.0 flow for your Node.js app.

2,268
Apache 2.0
Used by 4
69Health
Library Composer

Google2FA

A framework-agnostic PHP implementation of HOTP and TOTP one-time passwords, compatible with Google Authenticator and similar apps.

2,011
MIT
Used by 4
57Health
Library Go

go-keyring

Cross-platform Go library for storing secrets in the OS-native keyring or keychain.

1,355
MIT
Used by 4

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