
Hanko Has a Free API: Passwordless Authentication with Passkeys for Any Web App
What is Hanko? Hanko is an open-source authentication solution focused on passkeys — the FIDO2/WebAuthn standard that replaces passwords. It provides drop-in auth components and a full API for user management. Passwords are dead. Passkeys are the future. Hanko makes it easy. Quick Start # Self-host with Docker docker run -p 8000:8000 -p 8001:8001 ghcr.io/nicebook/hanko:latest Or use Hanko Cloud (free tier: 10,000 MAU). Drop-in Web Components npm install @nicebook/hanko-elements <!-- Login/Register component --> <hanko-auth api= "https://your-hanko.com" ></hanko-auth> <!-- User profile component --> <hanko-profile api= "https://your-hanko.com" ></hanko-profile> Two HTML tags — complete auth flow with passkeys, email codes, and social login. React Integration import { useEffect , useState } from " react " ; import { register } from " @nicebook/hanko-elements " ; import { Hanko } from " @nicebook/hanko-frontend-sdk " ; const hankoApi = process . env . NEXT_PUBLIC_HANKO_API ; const hanko =
Continue reading on Dev.to JavaScript
Opens in a new tab


