
Hanko Has a Free API — Heres How to Add Passkey Authentication in 5 Minutes
Hanko is an open-source auth solution focused on passkeys and WebAuthn. Drop in a web component, get passwordless auth — no complex setup. Why Hanko? Passkeys-first : WebAuthn/FIDO2 native Web component : Add <hanko-auth> to your HTML Passwordless : Email codes + passkeys Self-hosted : Full control OIDC/OAuth : Social login support Free tier : 10K MAUs on cloud Self-Host docker run -p 8000:8000 -p 8001:8001 \ -e "PUBLIC_URL=http://localhost:8000" \ -e "ADMIN_URL=http://localhost:8001" \ ghcr.io/teamhanko/hanko:latest Add to Your Frontend <script type= "module" src= "https://cdn.jsdelivr.net/npm/@aspect-build/hanko-elements/dist/elements.js" ></script> <hanko-auth api= "http://localhost:8000" ></hanko-auth> That's it. Users get email code + passkey registration. React Integration import { Hanko } from ' @teamhanko/hanko-elements ' ; import { useEffect , useState } from ' react ' ; const hankoApi = ' http://localhost:8000 ' ; function LoginPage () { useEffect (() => { import ( ' @teamhan
Continue reading on Dev.to Tutorial
Opens in a new tab
