Package category
Authentication and authorisation
Log users in, issue tokens, manage sessions and permissions.
735 packages4 comparisons
Packages compared
735 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| passport-local-mongoose Mongoose plugin that simplifies building username and password login with Passport | 26.9k | +40% | - | 4 months ago 9.1.0 | CommonJS | Bundled | Authentication and authorisation | |
| vue3-google-login Add a Login with Google feature to your Vue 3 application using Google Identity Services | 26.3k | +28% | - | 4 months ago 2.1.4 | ESM + CommonJS | Bundled | Authentication and authorisation, Vue | |
| @better-auth/redis-storage Redis storage for Better Auth secondary storage | 25.1k | - | - | - | 1 day ago 1.7.6 | ESM only | Bundled | Authentication and authorisation, TypeScript tooling |
| passport-cookie Cookie authentication strategy for Passport | 25.1k | +48% | - | 5 years ago 1.0.9 | CommonJS | None | Authentication and authorisation | |
| @davidzemon/passport-okta-oauth Passport strategy for authenticating with Okta using OAuth 2.0. | 24.7k | - | - | - | 1 year ago 0.0.7 | CommonJS | Bundled | Authentication and authorisation |
| @better-auth/i18n i18n plugin for Better Auth - translate error messages | 24.3k | - | - | - | 1 day ago 1.7.6 | ESM only | Bundled | Authentication and authorisation, TypeScript tooling |
| @auth/pg-adapter Postgres adapter for next-auth. | 23.9k | - | - | - | 2 months ago 1.11.3 | ESM only | Bundled | Authentication and authorisation |
| tauri-plugin-clerk An unofficial Tauri SDK for Clerk | 23.8k | +438043% | - | 6 months ago 0.1.1 | ESM only | Bundled | Authentication and authorisation | |
| @nylas/react React components and hooks for Nylas API integration | 23.7k | - | - | - | 2 days ago 3.2.17 | ESM + CommonJS | Bundled | React, Authentication and authorisation |
| oauth-pkce OAUTH PKCE code_verifier and code_challenge generator | 23.6k | +139% | - | 2 years ago 0.0.7 | CommonJS | Bundled | Authentication and authorisation | |
| @netlify/identity Headless auth functions for Netlify Identity. Import { login, getUser } and call them. No init, no class, no UI. | 23.2k | - | - | - | 1 month ago 2.0.0 | ESM + CommonJS | Bundled | Authentication and authorisation, Cloud SDKs |
| @colyseus/auth Authentication Utilities for Colyseus | 22.9k | - | - | - | 2 days ago 0.18.3 | ESM + CommonJS | Bundled | Authentication and authorisation |
| passport-totp TOTP authentication strategy for Passport. | 22.7k | +76% | - | 11 years ago 0.0.2 | CommonJS | None | Authentication and authorisation | |
| @capgo/capacitor-passkey Capacitor passkey plugin with a WebAuthn-style shim for Capacitor apps. | 22k | - | - | - | 10 days ago 8.5.2 | ESM + CommonJS | Bundled | Authentication and authorisation |
| @ory/nextjs This package contains the Next.js SDK for Ory. It provides a set of React components, server-side components, and hooks to interact with the Ory ecosystem. Supports both app and page routers. | 21.3k | - | - | - | 7 months ago 1.0.0-rc.1 | ESM + CommonJS | Bundled | Authentication and authorisation, React |
| @okta/configuration-validation Configuration validation support for Okta JavaScript SDKs | 21.2k | - | - | - | 4 years ago 1.1.0 | ESM + CommonJS | Bundled | Authentication and authorisation |
| @greatsumini/react-facebook-login Well-typed React Component for Facebook Login | 20.8k | - | - | - | 1 year ago 3.4.0 | CommonJS | Bundled | Authentication and authorisation, React |
| @hapi/bell Third-party login plugin for hapi | 20.8k | - | - | - | 16 days ago 13.2.0 | CommonJS | Bundled | Authentication and authorisation |
| @neondatabase/neon-js TypeScript SDK for Neon Auth and Data API - authentication and PostgreSQL querying | 20.4k | - | - | - | 1 month ago 0.7.0-beta | ESM only | Bundled | Authentication and authorisation, TypeScript tooling |
| @ory/elements-react Ory Elements React - a collection of React components for authentication UIs. | 20.4k | - | - | - | 1 month ago 1.2.1 | ESM + CommonJS | Bundled | Authentication and authorisation, React |
| netlify-identity-widget Netlify Identity widget for easy integration | 20.1k | -7% | - | 6 months ago 2.0.3 | ESM only | None | Authentication and authorisation, Cloud SDKs | |
| balena-auth Balena session authentication utilities | 20k | +144% | - | 3 months ago 6.1.1 | CommonJS | Bundled | Authentication and authorisation | |
| koa-basic-auth Blanket basic auth middleware for koa | 19.9k | +69% | - | 7 years ago 4.0.0 | - | None | Authentication and authorisation | |
| saslmechanisms JavaScript framework for SASL authentication. | 19.7k | +95% | - | 13 years ago 0.1.1 | CommonJS | None | Authentication and authorisation | |
| sasl-plain JavaScript implementation of PLAIN SASL mechanism. | 19.7k | +122% | - | 13 years ago 0.1.0 | CommonJS | None | Authentication and authorisation, Security | |
| @axa-fr/react-oidc OpenID Connect & OAuth authentication using react | 19.1k | - | - | - | 5 days ago 7.29.6 | ESM + CommonJS | Bundled | Authentication and authorisation, React |
| @speechmatics/auth Library for fetching temporary keys for Speechmatics APIs | 19.1k | - | - | - | 1 year ago 0.1.0 | ESM + CommonJS | Bundled | Authentication and authorisation |
| shopify-token Get an OAuth 2.0 access token for the Shopify API with ease | 18.9k | +84% | - | 3 years ago 4.1.0 | CommonJS | Bundled | Authentication and authorisation | |
| samlp SAML Protocol server middleware | 18.7k | -8% | - | 5 months ago 8.0.0 | CommonJS | None | Authentication and authorisation | |
| @toruslabs/torus-embed Embed script for Torus | 18.4k | - | - | - | 4 months ago 7.0.0 | ESM + CommonJS | Bundled | Authentication and authorisation, Blockchain and Web3 |
| corsair Open-source integration layer for AI agents and apps. Managed OAuth, webhooks, and one API for 350+ integrations, with credentials that stay in your own database. | 18k | +477730% | - | 1 day ago 0.1.138 | ESM only | Bundled | Authentication and authorisation | |
| ghauth Create and load persistent GitHub authentication tokens for command-line apps | 17.8k | -14% | - | 1 month ago 7.0.14 | ESM only | None | Authentication and authorisation | |
| fortmatic Fortmatic Javascript SDK | 17.3k | +1% | - | 4 years ago 2.4.0 | CommonJS | Bundled | Blockchain and Web3, Authentication and authorisation | |
| @aws/aurora-dsql-node-postgres-connector An AWS Aurora DSQL connector with IAM authentication for node-postgres | 16.9k | - | - | - | 4 months ago 0.1.9 | ESM + CommonJS | Bundled | Authentication and authorisation, Cloud SDKs |
| react-facebook The Facebook SDK for React — Login, Pixel tracking, Share, Like, Comments, Graph API, and more. TypeScript-first, SSR-safe, works with Next.js App Router. | 15.8k | -48% | - | 6 months ago 11.0.2 | ESM + CommonJS | Bundled | Static site generators and meta-frameworks, React | |
| next-firebase-auth-edge Next.js Firebase Authentication for Edge and server runtimes. Compatible with latest Next.js features. | 15.8k | +47% | - | 1 month ago 1.12.1 | ESM + CommonJS | Bundled | Authentication and authorisation, Cloud SDKs | |
| passport-slack-oauth2 [Passport](https://github.com/jaredhanson/passport) strategy for authenticating with [Slack](https://slack.com) using the OAuth 2.0 API. | 15.7k | +55% | - | 3 years ago 1.2.0 | CommonJS | None | Authentication and authorisation | |
| @piotr-agier/google-drive-mcp Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP. | 15.4k | - | - | - | 6 days ago 2.11.0 | ESM only | None | Authentication and authorisation |
| axios-oauth-1.0a Easily add OAuth 1.0a signing to your axios client | 15.3k | +13% | - | 7 months ago 0.4.1 | ESM + CommonJS | Bundled | Authentication and authorisation | |
| angular-permission Fully featured role and permission based access control for your angular applications | 15.3k | +121% | - | 8 years ago 6.0.0 | CommonJS | None | Authentication and authorisation, Angular | |
| sasl-scram-sha-1 JavaScript implementation of SCRAM-SHA-1 SASL mechanism. | 15.2k | +123% | - | 7 months ago 1.4.0 | CommonJS | None | Authentication and authorisation, Security | |
| sasl-anonymous JavaScript implementation of ANONYMOUS SASL mechanism. | 15.1k | +110% | - | 13 years ago 0.1.0 | CommonJS | None | Authentication and authorisation, Security | |
| @gongrzhe/server-gmail-autoauth-mcp Gmail MCP server with auto authentication support | 14.8k | - | - | - | 1 year ago 1.1.11 | ESM only | None | Authentication and authorisation |
| mcp-auth Plug and play auth for Model Context Protocol (MCP) servers | 14.7k | +3872% | - | 25 days ago 1.0.0-beta.1 | ESM only | Bundled | Authentication and authorisation | |
| react-social-login-buttons Simple social login buttons for React | 14.3k | +25% | - | 1 year ago 4.1.1 | CommonJS | Bundled | Authentication and authorisation, React | |
| @hapi/jwt JWT (JSON Web Token) Authentication | 14.3k | - | - | - | 3 months ago 3.2.4 | CommonJS | Bundled | Authentication and authorisation |
| svelte-clerk Svelte Clerk is the easiest way to add authentication and user management to your Svelte and SvelteKit applications. Add sign up, sign in, and profile management to your application in minutes. | 14.3k | +351% | - | 11 days ago 1.2.0 | ESM only | Bundled | Authentication and authorisation, Svelte | |
| @sbaiahmed1/react-native-biometrics React Native biometric authentication library for iOS and Android. Easy integration of Face ID, Touch ID, and Fingerprint authentication with TypeScript support. Compatible with new architecture (TurboModules) and Expo. Secure mobile login solution. | 14k | - | - | - | 16 days ago 0.16.1 | ESM + CommonJS | Bundled | Authentication and authorisation, React |
| twitter Twitter API client library for node.js | 13.8k | -9% | - | 9 years ago 1.7.1 | CommonJS | None | Authentication and authorisation | |
| @govtechsg/passport-openidconnect OpenID Connect authentication strategy for Passport. | 13.7k | - | - | - | 1 year ago 1.0.3 | CommonJS | Bundled | Authentication and authorisation |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- passport-local-mongooseMongoose plugin that simplifies building username and password login with Passport
- vue3-google-loginAdd a Login with Google feature to your Vue 3 application using Google Identity Services
- @better-auth/redis-storageRedis storage for Better Auth secondary storage
- passport-cookieCookie authentication strategy for Passport
- @davidzemon/passport-okta-oauthPassport strategy for authenticating with Okta using OAuth 2.0.
- @better-auth/i18ni18n plugin for Better Auth - translate error messages
- @auth/pg-adapterPostgres adapter for next-auth.
- tauri-plugin-clerkAn unofficial Tauri SDK for Clerk
- @nylas/reactReact components and hooks for Nylas API integration
- oauth-pkceOAUTH PKCE code_verifier and code_challenge generator
- @netlify/identityHeadless auth functions for Netlify Identity. Import { login, getUser } and call them. No init, no class, no UI.
- @colyseus/authAuthentication Utilities for Colyseus
- passport-totpTOTP authentication strategy for Passport.
- @capgo/capacitor-passkeyCapacitor passkey plugin with a WebAuthn-style shim for Capacitor apps.
- @ory/nextjsThis package contains the Next.js SDK for Ory. It provides a set of React components, server-side components, and hooks to interact with the Ory ecosystem. Supports both app and page routers.
- @okta/configuration-validationConfiguration validation support for Okta JavaScript SDKs
- @greatsumini/react-facebook-loginWell-typed React Component for Facebook Login
- @hapi/bellThird-party login plugin for hapi
- @neondatabase/neon-jsTypeScript SDK for Neon Auth and Data API - authentication and PostgreSQL querying
- @ory/elements-reactOry Elements React - a collection of React components for authentication UIs.
- netlify-identity-widgetNetlify Identity widget for easy integration
- balena-authBalena session authentication utilities
- koa-basic-authBlanket basic auth middleware for koa
- saslmechanismsJavaScript framework for SASL authentication.
- sasl-plainJavaScript implementation of PLAIN SASL mechanism.
- @axa-fr/react-oidcOpenID Connect & OAuth authentication using react
- @speechmatics/authLibrary for fetching temporary keys for Speechmatics APIs
- shopify-tokenGet an OAuth 2.0 access token for the Shopify API with ease
- samlpSAML Protocol server middleware
- @toruslabs/torus-embedEmbed script for Torus
- corsairOpen-source integration layer for AI agents and apps. Managed OAuth, webhooks, and one API for 350+ integrations, with credentials that stay in your own database.
- ghauthCreate and load persistent GitHub authentication tokens for command-line apps
- fortmaticFortmatic Javascript SDK
- @aws/aurora-dsql-node-postgres-connectorAn AWS Aurora DSQL connector with IAM authentication for node-postgres
- react-facebookThe Facebook SDK for React — Login, Pixel tracking, Share, Like, Comments, Graph API, and more. TypeScript-first, SSR-safe, works with Next.js App Router.
- next-firebase-auth-edgeNext.js Firebase Authentication for Edge and server runtimes. Compatible with latest Next.js features.
- passport-slack-oauth2[Passport](https://github.com/jaredhanson/passport) strategy for authenticating with [Slack](https://slack.com) using the OAuth 2.0 API.
- @piotr-agier/google-drive-mcpSecure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.
- axios-oauth-1.0aEasily add OAuth 1.0a signing to your axios client
- angular-permissionFully featured role and permission based access control for your angular applications
- sasl-scram-sha-1JavaScript implementation of SCRAM-SHA-1 SASL mechanism.
- sasl-anonymousJavaScript implementation of ANONYMOUS SASL mechanism.
- @gongrzhe/server-gmail-autoauth-mcpGmail MCP server with auto authentication support
- mcp-authPlug and play auth for Model Context Protocol (MCP) servers
- react-social-login-buttonsSimple social login buttons for React
- @hapi/jwtJWT (JSON Web Token) Authentication
- svelte-clerkSvelte Clerk is the easiest way to add authentication and user management to your Svelte and SvelteKit applications. Add sign up, sign in, and profile management to your application in minutes.
- @sbaiahmed1/react-native-biometricsReact Native biometric authentication library for iOS and Android. Easy integration of Face ID, Touch ID, and Fingerprint authentication with TypeScript support. Compatible with new architecture (TurboModules) and Expo. Secure mobile login solution.
- twitterTwitter API client library for node.js
- @govtechsg/passport-openidconnectOpenID Connect authentication strategy for Passport.