Privy Auth
React authentication SDK enabling Web2 and Web3 logins with embedded wallets.
Auth and security libraries npm Apache-2.0
Used in agent projects
107
0.8% of 12,697 public repos built with AI coding agents
Rank in auth and security libraries
#9 of 47
by use in those projects
Downloads
430K
npm, last 7 days, @privy-io/react-auth
GitHub stars
—
no public repo found
How Privy Auth is used
Privy Auth is a dependency in 107 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.8%), #9 of 47 in auth and security libraries. The most used alternative there is NextAuth.js. Projects that use it most often also use viem (58.9%), Next.js (71.0%), React (90.7%).
Often used with Privy Auth
| viem | 58.9% of Privy Auth projects · 4.8× more than average |
|---|---|
| Next.js | 71.0% of Privy Auth projects · 3.2× more than average |
| React | 90.7% of Privy Auth projects · 2.1× more than average |
| Tailwind CSS | 79.4% of Privy Auth projects · 2.3× more than average |
| Solana Kit | 42.1% of Privy Auth projects · 24.1× more than average |
| Lucide React | 57.0% of Privy Auth projects · 2.9× more than average |
| TypeScript | 92.5% of Privy Auth projects · 1.7× more than average |
| Tailwind Merge | 48.6% of Privy Auth projects · 2.9× more than average |
By coding agent
| Claude Code | 0.6% of projects set up for it |
|---|---|
| Cursor | 0.3% of projects set up for it |
Share of public repos configured for each agent that list Privy Auth as a dependency.
Install
| Package | npm install @privy-io/react-auth |
|---|---|
| Packages counted | @privy-io/react-auth, @privy-io/server-auth, @privy-io/wagmi, @privy-io/node, @privy-io/expo, @privy-io/expo-native-extensions, @privy-io/wagmi-connector, @privy-io/js-sdk-core |
| Main stacks | Next.js (74), TypeScript / JavaScript (29), Rust (2), React Native / Expo (2) |
| Example projects | sunflower-land/sunflower-land, NeurProjects/neur-app, nirholas/three.ws, ask-the-hive/the-hive, dydxprotocol/v4-web |
Alternatives to Privy Auth
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| NextAuth.js npm Complete open-source authentication solution designed for Next.js applications. |
266 (2.1%) | 6.7M | 28.4K | ISC |
| bcryptjs npm Pure JavaScript bcrypt implementation for secure password hashing without dependencies. |
256 (2.0%) | 14.7M | 3,797 | BSD-3-Clause |
| jsonwebtoken npm Create, verify and decode JSON Web Tokens for authentication and secure data transmission. |
241 (1.9%) | 59.3M | 18.2K | MIT |
| cryptography pypi Python library providing cryptographic recipes and primitives for secure applications. |
213 (1.7%) | 281M | 7,803 | — |
| jose npm Comprehensive JWT and JWK handling for Node.js and web runtimes. |
141 (1.1%) | 151M | 7,824 | MIT |
| PyJWT pypi Python library for encoding and decoding JSON Web Tokens. |
128 (1.0%) | 154M | 5,714 | — |
| Better Auth npm Comprehensive authentication framework for TypeScript with multiple strategies. |
126 (1.0%) | 11.4M | 30.2K | MIT |
| Helmet npm Express middleware that sets HTTP security headers to prevent vulnerabilities. |
125 (1.0%) | 16.2M | 10.7K | MIT |