F1 · Denies that better-auth can run with no session store at all, and sends the reader to Redis or the jwt plugin instead
1.4.0 (2025-11-22) precedes this subject's stated cutoff of 2026-05 by roughly six months.
"What it does not give you: a truly database-free, cookie-is-the-only-store setup. As far as I know better-auth always wants a database adapter for the user/account/verification tables, and there is no 'stateless JWT session' mode where the cookie is the sole source of truth. The jwt plugin issues JWTs for other services to verify (JWKS endpoint and all); it does not replace the session mechanism. Cookie cache is the nearest thing, and it's a cache with a short max age, not a replacement — the session still has to exist somewhere."
// the three answers offered, all of which keep a server-side store
session: { cookieCache: { enabled: false } }
export const auth = betterAuth({
database: db,
secondaryStorage: { get, set, delete: del }, // Redis
session: { storeSessionInDatabase: false },
})// stateless since 1.4.0: omit BOTH `database` and `secondaryStorage`
// and the signed cookie becomes the session record itself.
export const auth = betterAuth({
emailAndPassword: { enabled: true },
})A team told this provisions a Redis they do not need, or abandons a database-less deployment target the library has supported since November 2025. The subject named this as the claim in its answer it would most want verified, which is correct and does not make the claim less wrong.
Verified at both ends per fact LF1: the 1.4.0 notes introduce it, and the shipped 1.7.2 package still documents the stateless branch. Not verified: that the feature is unchanged between 1.4.0 and 1.7.2.
- 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)