{"repo":"shaoxuan0916/next-passkey-webauthn","free":true,"listed":false,"github":"https://github.com/shaoxuan0916/next-passkey-webauthn","clone":"git clone https://github.com/shaoxuan0916/next-passkey-webauthn.git","description":"A lightweight, framework-agnostic Passkey (WebAuthn) integration package for Next.js. Includes adapters (Prisma, Supabase, etc.), hooks, and utilities to make passkey authentication simple and secure.","language":"TypeScript","stars":11,"topics":["nextjs","passkeys","webauthn"],"license":"MIT","category":"databases-storage","readme_excerpt":"Next-Passkey-Webauthn A focused, minimal, and extensible Passkey (WebAuthn) SDK for Next.js applications. What is Next-Passkey-Webauthn? This library provides a complete WebAuthn solution with: - Client-side : React hooks that wrap @simplewebauthn/browser - Server-side : Utilities that wrap @simplewebauthn/server - Persistence : Pluggable adapters for credential storage (Prisma, Supabase) - Challenge Storage : Flexible challenge stores (Redis, Database) - Type Safety : Full TypeScript support Installation Quick Start Choose your preferred setup: 🚀 Setup Guides - Supabase + Redis - Recommended for production - Supabase PostgreSQL for credential storage - Redis for fast challenge storage - Scales across multiple nodes - Prisma + Redis - Prisma ORM with PostgreSQL - Redis for challenge storage - Full type safety with Prisma - Supabase + Database Store - All-in-one Supabase solution - PostgreSQL for both credentials and challenges - Simple deployment - Prisma + Database Store - Prisma ORM with PostgreSQL - Database-backed challenge storage - No external dependencies Architecture Overview The library follows a clean separation of concerns with three main layers: Client Side : React hooks that handle user interactions, device detection, and API communication. Hooks like useRegisterPasskey , useAuthenticatePasskey , and useManagePasskeys provide a simple interface for components. Server Side : WebAuthn handlers that manage the registration and authentication flows. Functions like s","default_branch":null,"files":null,"tree":[],"storefront":"/r/shaoxuan0916","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shaoxuan0916/next-passkey-webauthn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}