F1 · States that better-auth cannot run without a database-backed session store, which stopped being true in 1.4.0
1.4.0 shipped 2025-11-22, inside the subject's stated 2026-01 cutoff.
Asked what the library offers a team that wants the session cookie smaller and no session state in the database, the subject answered: "I do not believe better-auth has a fully DB-less 'sessions never touch a database' mode -- a database adapter is core to how it works. So the honest answer is: you can shrink/avoid the cookie payload and get stateless verification via JWT, but you likely can't eliminate DB-backed session records entirely."
// no `database`, no `secondaryStorage` -> the signed cookie IS the session record
export const auth = betterAuth({
emailAndPassword: { enabled: true },
})The team is told the architecture they asked for is unavailable in the library they are already using, and is steered toward either keeping a database they wanted to drop or re-platforming onto pure JWTs. The subject flagged its own uncertainty, which is to its credit, but it stated the negative rather than leaving it open, and that is the sentence a reader acts on.
Charged as a stated impossibility, not as a missing mention, under the additive-API rule in prompts/valibot.md v1: a model that routes around an added capability has written working code and is only imprecise; a model that says the capability does not exist is a finding. Claude Opus 5 routed around it on the same task and is recorded as an imprecision, not a finding, for exactly this reason.
- better-auth v1.4.0 release notes published 2025-11-22
Stateless session management
- better-auth 1.7.2 published package — dist/api/routes/session.d.mts published 2026-08-26
the only place the session lives and therefore the authority itself (
false, for stateless / DB-less deployments)