@modern-admin/auth-better-auth
v0.10.0
Published
Better Auth provider integration for Modern Admin (cookie sessions + API keys).
Maintainers
Readme
@modern-admin/auth-better-auth
Better Auth provider integration for Modern Admin (cookie sessions + API keys).
Part of Modern Admin — a universal, modern admin panel framework built on NestJS + React 19, with Prisma/Drizzle adapters, Tailwind 4 UI, and end-to-end Zod validation.
Installation
bun add @modern-admin/auth-better-auth better-auth@^1.7.0This release line supports Better Auth 1.7 and its required account identity
tuple: credential accounts are providerId: 'credential',
issuer: 'local:credential', and accountId: user.id; account uniqueness is
the pair (issuer, accountId). It does not advertise schema compatibility
with Better Auth 1.6.
Before upgrading a populated 1.6 installation, stop authentication writes and
apply the adapter-specific transactional migration shipped by
@modern-admin/system-prisma or @modern-admin/system-drizzle. The migrations
fail closed on unknown providers and duplicate identities and never merge or
delete users.
Documentation
Setup guides, architecture, and usage examples live in the Modern Admin README.
License
MIT © Modern Admin
