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

54Health
Library npm

hawk

JavaScript implementation of the Hawk HTTP holder-of-key authentication scheme

1,938
BSD 3
Used by 1
75Health
Library PyPI

django-two-factor-auth

Complete two-factor authentication for Django, adding TOTP, SMS/call, email, WebAuthn, and YubiKey verification on top of django-otp.

1,881
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
87Health
Library Composer

Symfony Security HTTP

HTTP-layer integration for Symfony Security: firewalls, authenticators, login flows, and access control.

1,700
MIT
Used by 1
49Health
SDK npm

react-native-apple-authentication

A well-typed React Native library that brings native Sign In with Apple to iOS and a web-based equivalent to Android.

1,668
Apache 2.0
Used by 1
52Health
Library npm

disposable-email-domains

A community-maintained JSON list of 120,000+ known disposable email domains for filtering throwaway signups.

1,377
MIT
Used by 1
73Health
Library Composer

PHP SAML Toolkit

Add SAML 2.0 single sign-on support to PHP applications as a service provider.

1,334
MIT
Used by 1
85Health
SDK PyPI

firebase-admin-python

Google's official Python SDK for privileged server-side access to Firebase Auth, Firestore, Cloud Messaging, Storage, and Remote Config.

1,159
Apache 2.0
Used by 1
48Health
Library npm

axios-auth-refresh

Automatically refresh expired auth tokens and retry failed requests with Axios interceptors.

1,142
MIT
Used by 1
49Health
Library Composer

FOSOAuthServerBundle

Turn a Symfony application into a server-side OAuth2 authorization server

1,076
MIT
Used by 1
97Health
SDK npm

auth0-spa-js

Auth0's official SDK for adding PKCE-based login, token management, MFA, and passkeys to single-page applications.

1,013
MIT
Used by 1
44Health
Library Composer

bjeavons/zxcvbn-php

Realistic PHP password strength estimation via pattern matching and entropy

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
46Health
SDK PyPI

oauth2client

Google's deprecated Python client library for OAuth 2.0 authentication against Google APIs and services.

793
Apache 2.0
Used by 1
43Health
Library PyPI

djangorestframework-api-key

API key permissions for Django REST Framework, with secure hashing and admin-managed keys.

743
MIT
Used by 1
56Health
Library Cargo

webauthn-rs

A Rust implementation of the WebAuthn Relying Party protocol for passkey and passwordless authentication.

709
MPL-2.0
Used by 1
41Health
Library npm

notp

Zero-dependency Node.js library for generating and verifying HOTP and TOTP one-time passwords compatible with Google Authenticator.

688
MIT
Used by 1
60Health
Library PyPI

django-otp

A pluggable framework for adding two-factor authentication to Django using one-time passwords.

630
Other
Used by 1
45Health
Library Composer

webauthn

Small, lightweight PHP WebAuthn (FIDO2/Passkey) server library for passwordless login.

598
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
68Health
Library Composer

LdapRecord

A fully-featured, ActiveRecord-style LDAP ORM for PHP supporting Active Directory, OpenLDAP, and FreeIPA.

582
MIT
Used by 1
45Health
Library PyPI

mozilla-django-oidc

OpenID Connect authentication for Django, with a pluggable auth backend, callback views, and silent session refresh.

557
MPL-2.0
Used by 1
89Health
Library npm

express-openid-connect

Auth0's Express.js middleware for adding OpenID Connect login and session protection to web apps.

517
MIT
Used by 1
64Health
SDK npm

okta-auth-js

The official JavaScript SDK for Okta's Authentication and OIDC APIs, handling tokens, sessions, and sign-in flows for web and Node apps.

486
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