Minimal runnable example demonstrating magic-link auth.
# in-memory storage (no DB required)
go run main.go
# Postgres storage (run migrations from ../../storage/postgres/migrations first)
DATABASE_URL=postgres://user:pass@localhost:5432/yourdb go run main.goOpen http://localhost:8080.
- Submit your email. The magic-link URL is logged to your terminal (default email sender is
noop, which just prints to stdout) - Paste the verify URL into your browser address bar
- You'll receive a session cookie
- Visit
/auth/meto see your user record