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

74Health
SDK PyPI

supertokens-python

The official Python SDK that connects a FastAPI, Flask, or Django backend to the open-source SuperTokens authentication service.

148
Apache 2.0
Used by 1
43Health
SDK npm

react-apple-signin-auth

A drop-in React button and helper API for Sign in with Apple, built directly on Apple's official JS SDK.

140
MIT
Used by 1
79Health
Library npm

@fastify/session

A server-side session plugin for Fastify with signed cookies, pluggable stores, and first-class TypeScript support.

130
MIT
Used by 1
77Health
Library Cargo

mail-auth

A Rust library implementing DKIM, DKIM2, SPF, DMARC, and ARC for signing and verifying email authenticity.

128
Other
Used by 1
48Health
Library Composer

Webauthn Lib

PHP library implementing FIDO2 and WebAuthn for passkey and security-key authentication.

125
MIT
Used by 1
51Health
Library Cargo

spake2

Pure Rust implementation of the SPAKE2 password-authenticated key exchange protocol using Curve25519.

124
Other
Used by 1
49Health
Library npm

memorystore

A leak-free, LRU-backed session store for express-session, with configurable TTL and pruning.

121
MIT
Used by 1
82Health
Library Composer

CakePHP Authentication

PSR-7 middleware authentication plugin for CakePHP with pluggable authenticators and identifiers.

118
MIT
Used by 1
74Health
SDK npm

Logto JS Core SDK

The framework-agnostic TypeScript core that powers Logto's entire JavaScript SDK family for OIDC authentication.

96
MIT
Used by 1
72Health
Library PyPI

django-scim2

A provider-side SCIM 2.0 implementation for Django, enabling automated user and group provisioning.

95
MIT
Used by 1
30Health
Library Cargo

machineid-rs

Build a unique, encrypted machine ID (HWID) in Rust from customizable hardware and OS components.

88
Other
Used by 1
29Health
Library npm

express-bearer-token

Express middleware that extracts RFC 6750 bearer tokens from request body, query, headers, or cookies.

81
MIT
Used by 1
56Health
Library Cargo

picky

Portable X.509, PKI, JOSE and HTTP signature primitives for Rust

70
Other
Used by 1
80Health
Library npm

@sanity/preview-url-secret

Generates and validates signed, expiring secrets that gate draft-mode preview access for Sanity Studio-driven front ends.

64
MIT
Used by 1
28Health
Library Cargo

pwhash

A pure-Rust library for hashing and verifying passwords with bcrypt, SHA-crypt, MD5-crypt, and other Unix crypt(3) algorithms.

63
MIT
Used by 1
58Health
Library Composer

Socialite Apple Provider

An Apple OAuth2 provider that adds Sign in with Apple to Laravel Socialite.

60
MIT
Used by 1
34Health
SDK Cargo

yubico-rs

A Rust client for Yubico's OTP validation API, letting apps verify YubiKey one-time passwords over HTTP.

56
Other
Used by 1
31Health
Library PyPI

python3-openid

OpenID 2.0 authentication library for Python 3, with relying-party (consumer) and identity-provider (server) support.

46
Apache 2.0
Used by 1
43Health
Library Cargo

nkeys

A Rust implementation of NATS nkeys: Ed25519 identity and auth keypairs.

45
Apache 2.0
Used by 1
45Health
SDK PyPI

Microsoft Authentication Extensions for Python

Cross-platform encrypted token cache persistence for MSAL Python, backed by DPAPI, Keychain, and libsecret.

44
MIT
Used by 1
31Health
SDK Composer

Discord (Socialite Provider)

Discord OAuth2 provider for Laravel Socialite — add "Sign in with Discord" to any Laravel app.

42
MIT
Used by 1
30Health
Library npm

digest-fetch

A lightweight HTTP Digest and Basic authentication client that wraps fetch and node-fetch.

41
MIT
Used by 1
26Health
Library PyPI

FastAPI Users DB SQLAlchemy

SQLAlchemy database adapter for the FastAPI Users auth library.

40
MIT
Used by 1
35Health
Library Cargo

keyring-core

A cross-platform Rust library for storing and retrieving passwords and secrets in secure OS credential stores.

39
Apache 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