{
 "kind": "tool",
 "slug": "privy-io",
 "path": "tools/privy-io/",
 "name": "Privy Auth",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "React authentication SDK enabling Web2 and Web3 logins with embedded wallets.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @privy-io/react-auth"
 },
 "links": [
  {
   "label": "Website",
   "href": "https://docs.privy.io"
  },
  {
   "label": "API page",
   "path": "apis/privy/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://docs.privy.io"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "",
   "src": "https://docs.privy.io"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "4 projects",
   "status": "info",
   "sub": "#81 of 141 in its category",
   "note": "Dependency in 4 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Privy Auth does",
   "parts": [
    {
     "t": "prose",
     "text": "React authentication SDK enabling Web2 and Web3 logins with embedded wallets."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Privy Auth popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "56",
       "of": "/ 100",
       "l": "Gid Score, #1401 overall"
      },
      {
       "n": "778K",
       "l": "downloads a week, npm"
      },
      {
       "n": "4",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Privy Auth is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Privy Auth is a dependency in 4 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 139 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is NextAuth.js (150 projects).",
      "Projects that use it most often also use Next.js (67.6%), React (91.4%), viem (62.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 67.6% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 91.4% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 62.6% of its projects",
       "v": "viem",
       "path": "tools/viem/"
      },
      {
       "l": "In 79.9% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 44.6% of its projects",
       "v": "Solana Web3.js",
       "path": "tools/solana-web3-js/"
      },
      {
       "l": "In 56.8% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 92.1% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 38.1% of its projects",
       "v": "Solana Kit",
       "path": "tools/solana-kit/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Privy Auth",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Auth and security libraries",
       "path": "tools/auth-security/",
       "items": [
        {
         "text": "bcryptjs",
         "path": "tools/bcryptjs/"
        },
        {
         "text": "jsonwebtoken",
         "path": "tools/jsonwebtoken/"
        },
        {
         "text": "cryptography",
         "path": "tools/cryptography/"
        },
        {
         "text": "PyJWT",
         "path": "tools/pyjwt/"
        },
        {
         "text": "jose",
         "path": "tools/jose/"
        },
        {
         "text": "DOMPurify",
         "path": "tools/dompurify/"
        },
        {
         "text": "Helmet",
         "path": "tools/helmet/"
        },
        {
         "text": "bcrypt (JavaScript)",
         "path": "tools/bcrypt-npm/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Privy Auth",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 56",
        "778K/wk"
       ]
      },
      {
       "name": "NextAuth.js",
       "why": "Complete open-source authentication solution designed for Next.js applications.",
       "path": "tools/next-auth/",
       "facts": [
        "ISC",
        "Gid 75",
        "9.4M/wk"
       ]
      },
      {
       "name": "Better Auth",
       "why": "Comprehensive authentication framework for TypeScript with multiple strategies.",
       "path": "tools/better-auth/",
       "facts": [
        "MIT",
        "Gid 79",
        "21.1M/wk"
       ]
      },
      {
       "name": "Clerk",
       "why": "Modern authentication and user management SDK for Next.js and React.",
       "path": "tools/clerk/",
       "facts": [
        "MIT",
        "Gid 62",
        "4.1M/wk"
       ]
      },
      {
       "name": "Passport.js",
       "why": "Modular authentication middleware for Node.js supporting OAuth, JWT and local strategies.",
       "path": "tools/passport/",
       "facts": [
        "MIT",
        "Gid 69",
        "10.5M/wk"
       ]
      }
     ],
     "more": "Compare Privy Auth with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @privy-io/react-auth"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Privy Auth yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @privy-io/react-auth"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "55.5"
  ],
  [
   "Rank in category",
   "#81 of 141"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": null
}