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

81Health
Library npm

express-rate-limit

Basic IP rate-limiting middleware for Express to throttle repeated requests and protect public APIs and sensitive endpoints.

3,305
MIT
Used by 30
90Health
Library npm

openid-client

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

2,421
MIT
Used by 24
89Health
Library npm

casl

Isomorphic JavaScript/TypeScript authorization library for defining and checking fine-grained user permissions.

7,090
MIT
Used by 10
36Health
Library npm

passport-oauth2

A generic OAuth 2.0 authentication strategy for Passport, the base class most provider-specific Passport login strategies are built on.

618
MIT
Used by 10
93Health
Framework npm

oidc-provider

Certified OAuth 2.0 and OpenID Connect authorization server you mount into your own Node.js app.

3,818
MIT
Used by 7
80Health
Library PyPI

OAuthLib

Generic, spec-compliant OAuth1, OAuth2, and OpenID Connect implementation for Python

2,982
BSD 3
Used by 6
94Health
Tool Go

Open Policy Agent (OPA)

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

12,280
Apache 2.0
Used by 5
82Health
Library Composer

league/oauth2-client

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

3,818
MIT
Used by 5
89Health
Library PyPI

Social Auth Core

The core authentication backend engine behind Python Social Auth, supporting OAuth, OpenID, and SAML.

921
BSD 3
Used by 3
53Health
Library Composer

Bouncer

Elegant roles and abilities authorization for Laravel using Eloquent.

3,578
MIT
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

django-guardian

Per-object (row-level) permissions for the Django authorization system.

3,917
Other
Used by 1
76Health
Library npm

accesscontrol

Role- and attribute-based access control (RBAC + ABAC) for Node.js, with enforced ownership, conditions, and require() gates.

2,330
MIT
Used by 1
55Health
Library Composer

Laratrust

Flexible role-based access control (RBAC) for Laravel with roles, permissions, teams, and caching

2,274
MIT
Used by 1
48Health
Library PyPI

django-rules

Object-level permissions and rule-based authorization for Django, with no database required.

1,974
MIT
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
41Health
SDK Composer

OAuth2 Google Provider

Google OAuth 2.0 provider for The PHP League's OAuth 2.0 Client

425
MIT
Used by 1
82Health
Library PyPI

pyrad

A pure-Python library for building RADIUS clients and servers, covering authentication, accounting, and Change-of-Authorization out of the box.

312
BSD 3
Used by 1
64Health
Library Cargo

Biscuit-Auth

Rust implementation of Biscuit — a decentralized authorization token with offline attenuation and a Datalog policy language.

251
Apache 2.0
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

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