Skip to content
JS
Package category

Authentication and authorisation

Log users in, issue tokens, manage sessions and permissions.

735 packages4 comparisons

Packages compared

735 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
passport-openid
OpenID authentication strategy for Passport.
4.1k-37%-11 years ago
0.4.0
CommonJSNoneAuthentication and authorisation
@activescott/auth
Framework-agnostic authentication with provider pattern for magic links, OAuth, and more
4.1k---5 days ago
5.6.0
ESM onlyBundledAuthentication and authorisation
refresh-fetch
Wrapper around fetch capable of graceful authentication token refreshing.
4.1k+112%-2 years ago
0.9.0
CommonJSNoneAuthentication and authorisation, HTTP clients
redux-oidc
A package for managing OpenID Connect authentication in redux apps
4k-21%-6 years ago
4.0.0-beta1
CommonJSBundledAuthentication and authorisation, State management
react-microsoft-login
React component for easy OAuth with Microsoft services on client side.
4k-39%-3 years ago
2.0.1
CommonJSBundledAuthentication and authorisation, React
pixivflow
🎨 Pixiv 下载、筛选与自动收集工具 - 批量下载插画和小说、按标签/热度/日期筛选、定时任务与可靠 HTTP 交付 | Pixiv downloader and automation toolkit with filtering, scheduling and reliable HTTP delivery
4k--1 day ago
2.46.0
CommonJSBundledCLI tools and terminal utilities, Node.js utilities
@transmitsecurity/platform-web-sdk
Transmit Security Web SDK - Browser-only authentication and identity verification
4k---18 days ago
2.6.4
ESM + CommonJSBundledAuthentication and authorisation, Security
acuityscheduling
Acuity Scheduling JS Dev Kit
4k+143%-7 years ago
0.1.9
CommonJSNoneAuthentication and authorisation
passport-trusted-header
Passport.js strategy for trusted HTTP headers
4k+19%-10 years ago
1.1.0
CommonJSNoneAuthentication and authorisation
@onlyfansapi/auth
Framework agnostic library to embed OnlyFans Authentication in your app using OnlyFansAPI.com/auth
3.9k---1 day ago
2.1.0
ESM + CommonJSBundledAuthentication and authorisation
nestjs-supabase-js
NestJS Supabase integration
3.9k+284%-1 year ago
1.1.1
CommonJSBundledAuthentication and authorisation, Database clients and drivers
@stacksjs/socials
A simple and elegant social authentication package for Stacks.
3.9k---today
0.74.68
ESM onlyBundledAuthentication and authorisation
@clabnet/vue-simple-acl
A simple unopinionated Vue plugin for managing user roles and permissions, access-control list (ACL) and role-based access control (RBAC).
3.9k---3 years ago
2.2.20
ESM + CommonJSBundledAuthentication and authorisation, Vue
xumm-js-pkce
A package that makes using the OAuth2 PKCE (+Implicit support) flow easier
3.9k+15%-2 years ago
1.0.2
CommonJSBundledAuthentication and authorisation
start-authjs
Auth.js integration for TanStack Start
3.8k--9 months ago
1.0.2
ESM onlyBundledAuthentication and authorisation
passport-atlassian-oauth
Atlassian Oauth authentication strategy for Passport.
3.8k-74%-11 years ago
0.0.2
CommonJSNoneAuthentication and authorisation
react-native-azure-auth
An React Native module implements Azure AD V2.0 authentication flow
3.8k+44%-2 months ago
1.9.5
CommonJSBundledAuthentication and authorisation, React
passport-docusign
DocuSign authentication strategy for Passport.
3.8k-72%-6 years ago
1.3.0
CommonJSNoneAuthentication and authorisation
osm-auth
A usable example of JavaScript OAuth 2.0 with OpenStreetMap
3.8k+119%-5 months ago
3.2.0
ESM + CommonJSBundledAuthentication and authorisation
@dcl/crypto
Crypto auth for Decentraland
3.8k---5 months ago
3.7.0
CommonJSBundledAuthentication and authorisation
passport-telegram-official
Telegram (not official, just the name) authentication strategy for Passport (https://core.telegram.org/widgets/login)
3.8k+443%-10 months ago
3.0.0
ESM + CommonJSBundledAuthentication and authorisation
@civitai/app-sdk
OAuth + PKCE, encrypted-cookie sessions, scopes, and orchestrator helpers for building third-party Civitai apps.
3.7k---1 day ago
0.51.0
ESM onlyBundledAuthentication and authorisation
disconnect
A full-featured Discogs API v2.0 client library
3.7k+428%-5 years ago
1.2.2
CommonJSNoneAuthentication and authorisation
@sp-uvb/elysia
Production-grade Elysia plugin for Universal Verification Broker (UVB) authentication
3.7k---3 months ago
0.2.1
ESM + CommonJSBundledAuthentication and authorisation
@sp-uvb/vue
Official Vue.js composables for Universal Verification Broker (UVB)
3.7k---3 months ago
0.2.1
ESM + CommonJSBundledVue, Authentication and authorisation
@sp-uvb/client
Universal Verification Broker (UVB) TypeScript/JavaScript SDK
3.7k---3 months ago
0.2.1
ESM + CommonJSBundledAuthentication and authorisation, Security
payload-authjs
A Payload CMS 3 plugin for Auth.js 5
3.7k+178%-3 months ago
0.10.2
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
u2f
U2F 2-factor authentication library
3.7k+60%--
0.1.3
-NoneAuthentication and authorisation
krb5
Kerberos library bindings for Node.js
3.7k+363%-4 years ago
0.5.5
CommonJSNoneAuthentication and authorisation, Security
@slashid/react
React SDK for the /id platform
3.7k---7 days ago
1.36.0
ESM onlyBundledAuthentication and authorisation, React
feathers-authentication-management
Adds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication
3.6k-61%--
5.1.0
CommonJSBundledAuthentication and authorisation
cypress-keycloak-commands
Cypress commands for login with Keycloak
3.6k-49%-6 years ago
1.2.0
CommonJSBundledAuthentication and authorisation, Testing
node-expose-sspi
Expose the Microsoft Windows SSPI interface in order to do NTLM and Kerberos authentication.
3.5k+604%-3 years ago
0.1.60
CommonJSBundledAuthentication and authorisation
bcryptjs-react
Webpack v5 - Optimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'.
3.5k-17%-4 years ago
2.4.6
CommonJSBundledCryptography and hashing, React
node-bigcommerce-fork-with-retry
A node module for authentication and use with the BigCommerce API
3.5k+288%-3 years ago
4.1.1
CommonJSNoneAuthentication and authorisation, Node.js utilities
passport-naver
Naver authentication strategy for Passport
3.5k-13%-9 years ago
1.0.6
CommonJSNoneAuthentication and authorisation
@atproto/oauth-scopes
A library for manipulating and validating ATproto OAuth scopes in TypeScript.
3.5k---14 days ago
0.5.12
ESM onlyBundledAuthentication and authorisation
@decocms/better-auth
The most comprehensive authentication framework for TypeScript.
3.4k---6 months ago
1.5.19
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
dsh-mcp-connector
DeepSeek Harness MCP Connector: connect servers, search tools across active connections, and troubleshoot discovery. Includes a continuously updated catalog; supports OAuth 2.0 PKCE, API keys, Streamable HTTP/stdio, and mcpServers JSON import.
3.4k--3 days ago
0.2.58
ESM onlyNoneAuthentication and authorisation
@onkernel/managed-auth-react
React component library for Kernel managed auth — one-component drop-in with a Clerk-style appearance API
3.4k---8 days ago
0.5.4
ESM + CommonJSBundledAuthentication and authorisation, React
@passport-next/passport-google-oauth2
Google (OAuth 2.0) authentication strategy for Passport.
3.4k---7 years ago
1.0.0
CommonJSNoneAuthentication and authorisation
@ydbjs/auth
Authentication providers for YDB: static credentials, tokens, anonymous, and cloud metadata. Integrates with the core driver for secure access.
3.3k---3 months ago
6.3.1
ESM onlyBundledAuthentication and authorisation, Database clients and drivers
vue-google-oauth2
Handling Google Auth2 sign-in and sign-out
3.3k+28%--
1.5.10
CommonJSBundledAuthentication and authorisation, Vue
@targetprocess/tokiny
Client for easy retrieving access_tokens from Targetprocess Auth service.
3.3k---8 months ago
3.12.0
CommonJSBundledAuthentication and authorisation
piral-oidc
Plugin to integrate authentication using OpenID connect in Piral.
3.3k+153%-14 days ago
1.12.4
ESM + CommonJSBundledAuthentication and authorisation
@oppulence/auth
Enterprise-grade authentication package built on WorkOS with custom UI components
3.3k---1 month ago
0.3.2
ESM onlyBundledAuthentication and authorisation
@sp-api-sdk/auth
Login with Amazon (LWA) authentication for the Amazon Selling Partner API (SP-API)
3.2k---1 month ago
3.1.4
ESM + CommonJSBundledTypeScript tooling, Authentication and authorisation
passport-google-auth
Google (OAuth2) authentication strategy for Passport and Node.js.
3.2k+210%-9 years ago
1.0.2
CommonJSNoneAuthentication and authorisation
@zenstackhq/better-auth
ZenStack Better Auth Adapter. This adapter is modified from better-auth's Prisma adapter.
3.2k---1 day ago
3.9.6
ESM + CommonJSBundledAuthentication and authorisation
@yielded/auth
Composable authentication, sessions, and identity workflows for Effect.
3.2k---14 days ago
0.1.0-beta.1
ESM onlyBundledAuthentication 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-openidOpenID authentication strategy for Passport.
  • @activescott/authFramework-agnostic authentication with provider pattern for magic links, OAuth, and more
  • refresh-fetchWrapper around fetch capable of graceful authentication token refreshing.
  • redux-oidcA package for managing OpenID Connect authentication in redux apps
  • react-microsoft-loginReact component for easy OAuth with Microsoft services on client side.
  • pixivflow🎨 Pixiv 下载、筛选与自动收集工具 - 批量下载插画和小说、按标签/热度/日期筛选、定时任务与可靠 HTTP 交付 | Pixiv downloader and automation toolkit with filtering, scheduling and reliable HTTP delivery
  • @transmitsecurity/platform-web-sdkTransmit Security Web SDK - Browser-only authentication and identity verification
  • acuityschedulingAcuity Scheduling JS Dev Kit
  • passport-trusted-headerPassport.js strategy for trusted HTTP headers
  • @onlyfansapi/authFramework agnostic library to embed OnlyFans Authentication in your app using OnlyFansAPI.com/auth
  • nestjs-supabase-jsNestJS Supabase integration
  • @stacksjs/socialsA simple and elegant social authentication package for Stacks.
  • @clabnet/vue-simple-aclA simple unopinionated Vue plugin for managing user roles and permissions, access-control list (ACL) and role-based access control (RBAC).
  • xumm-js-pkceA package that makes using the OAuth2 PKCE (+Implicit support) flow easier
  • start-authjsAuth.js integration for TanStack Start
  • passport-atlassian-oauthAtlassian Oauth authentication strategy for Passport.
  • react-native-azure-authAn React Native module implements Azure AD V2.0 authentication flow
  • passport-docusignDocuSign authentication strategy for Passport.
  • osm-authA usable example of JavaScript OAuth 2.0 with OpenStreetMap
  • @dcl/cryptoCrypto auth for Decentraland
  • passport-telegram-officialTelegram (not official, just the name) authentication strategy for Passport (https://core.telegram.org/widgets/login)
  • @civitai/app-sdkOAuth + PKCE, encrypted-cookie sessions, scopes, and orchestrator helpers for building third-party Civitai apps.
  • disconnectA full-featured Discogs API v2.0 client library
  • @sp-uvb/elysiaProduction-grade Elysia plugin for Universal Verification Broker (UVB) authentication
  • @sp-uvb/vueOfficial Vue.js composables for Universal Verification Broker (UVB)
  • @sp-uvb/clientUniversal Verification Broker (UVB) TypeScript/JavaScript SDK
  • payload-authjsA Payload CMS 3 plugin for Auth.js 5
  • u2fU2F 2-factor authentication library
  • krb5Kerberos library bindings for Node.js
  • @slashid/reactReact SDK for the /id platform
  • feathers-authentication-managementAdds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication
  • cypress-keycloak-commandsCypress commands for login with Keycloak
  • node-expose-sspiExpose the Microsoft Windows SSPI interface in order to do NTLM and Kerberos authentication.
  • bcryptjs-reactWebpack v5 - Optimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'.
  • node-bigcommerce-fork-with-retryA node module for authentication and use with the BigCommerce API
  • passport-naverNaver authentication strategy for Passport
  • @atproto/oauth-scopesA library for manipulating and validating ATproto OAuth scopes in TypeScript.
  • @decocms/better-authThe most comprehensive authentication framework for TypeScript.
  • dsh-mcp-connectorDeepSeek Harness MCP Connector: connect servers, search tools across active connections, and troubleshoot discovery. Includes a continuously updated catalog; supports OAuth 2.0 PKCE, API keys, Streamable HTTP/stdio, and mcpServers JSON import.
  • @onkernel/managed-auth-reactReact component library for Kernel managed auth — one-component drop-in with a Clerk-style appearance API
  • @passport-next/passport-google-oauth2Google (OAuth 2.0) authentication strategy for Passport.
  • @ydbjs/authAuthentication providers for YDB: static credentials, tokens, anonymous, and cloud metadata. Integrates with the core driver for secure access.
  • vue-google-oauth2Handling Google Auth2 sign-in and sign-out
  • @targetprocess/tokinyClient for easy retrieving access_tokens from Targetprocess Auth service.
  • piral-oidcPlugin to integrate authentication using OpenID connect in Piral.
  • @oppulence/authEnterprise-grade authentication package built on WorkOS with custom UI components
  • @sp-api-sdk/authLogin with Amazon (LWA) authentication for the Amazon Selling Partner API (SP-API)
  • passport-google-authGoogle (OAuth2) authentication strategy for Passport and Node.js.
  • @zenstackhq/better-authZenStack Better Auth Adapter. This adapter is modified from better-auth's Prisma adapter.
  • @yielded/authComposable authentication, sessions, and identity workflows for Effect.