Sign in with Face ID, Touch ID, Windows Hello or a security key, keeping email + password as the primary method. - API: BetterAuth passkey plugin deriving rpID/origin from WEB_APP_URL (the browser origin), with residentKey "required" because sign-in is username-less. New Passkey model mapped to the passkeys table. - Web: conditional UI in the email field plus an explicit "Entrar con passkey" button; cancelled ceremonies are ignored. - Settings: create, rename and delete passkeys with TanStack Query. - Pin @better-auth/passkey to 1.7.7: its peers lock better-call, so newer versions break the API.
504 B
504 B
- Monorepo con TURBO
- Backend en Bun con Hono. Acceso a DB Postgres con Prisma. Validación con Zod. Logging con Pino
- Salidas del backend según RFC 9457 (Problem Details)
- Frontend en React con vite y typescript. Componentes Shadcn
- Rutas del frontend con TanStack Router usando file-based routing
- Estado del servidor en el frontend con TanStack Query
- Formularios del frontend con React Hook Form + Zod
- BetterAuth para autenticación (email + contraseña, OTP por correo y passkeys/WebAuthn)