better-auth/cloudflare
auth · new user

Get
wired in.

A row in D1, a session in KV, a cookie in your browser. That's it. No OAuth dance, no external provider — this example keeps it deliberately simple.

  • Stored in your own Cloudflare D1
  • Passwords hashed via better-auth
  • Sessions signed, not stored in LocalStorage
Minimum 8 characters.

Already registered? Sign in