Files
WRNexusJS/examples/auth-showcase/README.md
2026-07-29 12:51:10 +05:30

810 B

Authentication showcase

Run from the monorepo root:

bun run auth:dev

The showcase uses package-owned /api/auth/* routes, automatic browser schemas, auth-session middleware, components, styles, and runtime. It intentionally contains no copied default API handlers or app/schemas files.

It demonstrates registration, password login and recovery, passwordless OTP, magic-link requests, two-factor verification, authenticator setup, passkeys, sessions, invitations, account state, and impersonation safety UI.

Development delivery messages are retained in the in-memory outbox. Console output reports only the template and destination; it does not print OTP codes, raw tokens, or reset URLs. Replace the memory store, development secret, and delivery implementation before production use.