Production authentication in minutes, not months.
AuthCore ships full-stack authentication, 2FA, multi-tenant governance, adapters, billing hooks, and enterprise security with a polished React UI kit. Every component in this documentation is wired with mock data so you can explore real flows instantly.
Install
One package, glass UI + secure backend.
Auth, organizations, billing, security, flows
Magic links, checkout, adapters, audit webhooks
English and French dictionaries ready to extend
From login to usable tokens in five steps
Explore the dedicated flow gallery to zoom in on each hop from initial login through policy enforcement, token minting, and the final handoff into your app without cramped layouts.
- Deep-dive stepper that walks through the authentication pipeline with optional MFA pivots.
- Companion diagrams unpack passwordless and tenant invite flows alongside the core journey.
- Copy-ready callouts link every step to the hooks and API routes that drive it.
AuthCore 3.3.1
Root exports, CLI scaffolding, and runtime guards evolved together so every app stays aligned with the npm package updates.
- Root package now ships all client hooks, helpers, and i18n utilities via a single import surface.
- CLI install scripts auto-sync Prisma migrations and Tailwind presets with the published build.
- Bundled type declarations cover the new audit, device, and profile helpers without manual augmentation.
Authentication Suite
Login, register, restore, and 2FA flows with instant mock data.
Organizations & Teams
Switchers, onboarding, and invite flows for multi-tenant SaaS.
Checkout & Billing
Two-column checkout with promo codes, branded payment toggles, and REST APIs.
Security Controls
Lockout, device telemetry, audit trails, and webhook guards baked in.
Magic Links
Tenant-aware, profile-aware passwordless login with branded email templates.
Adapters & Extensibility
Swap Prisma for Supabase, Appwrite, or your REST backend with observability hooks.
Feature Toggles
Super admin, tenant, and profile controls for staged rollouts.
What you get out of the box
Authentication suite
- • Login, register, magic links
- • Password reset & restore flows
- • Built-in 2FA wizard with backups
SaaS primitives
- • Organizations & member invites
- • Role-based access helpers
- • Waitlist & billing templates
Security controls
- • Adaptive lockout & bot detection
- • Device & session telemetry
- • Signed webhooks for billing
DX features
- • Auto-installed Tailwind theme
- • Locale registries & mock data demos
- • CLI tooling & Prisma bootstrap
Three commands
npm install codalware-auth @prisma/client next-auth
npx authcore init --migrate
npx authcore styles:install
Run the docs locally with cd DOCS && npm run dev
to explore every component with live mock data.