F1 · States that better-auth offers no stateless, store-free session mode, and names cookieCache, Redis and the jwt plugin as the only options
1.4.0 (2025-11-22) precedes this subject's stated cutoff of 2026-01 by two months.
"Here I want to be plain rather than oversell: better-auth does not, to my knowledge, offer a fully stateless 'the cookie is the session' mode with no backing store at all. ... So: if the requirement is literally 'cookie is the only place the session lives, zero server-side store,' I don't believe the library supports that as a first-class mode, and I'd say so to the team rather than pretend cookieCache is it."
// all three options offered keep a server-side store
session: { cookieCache: { enabled: true, maxAge: 300 } }
export const auth = betterAuth({
secondaryStorage: redisStore,
session: { storeSessionInDatabase: false },
})// stateless since 1.4.0: omit BOTH `database` and `secondaryStorage`
export const auth = betterAuth({
emailAndPassword: { enabled: true },
})The reader is told to shrink the cookie or stand up Redis, and is explicitly advised that the thing they asked for does not exist. It has existed since 2025-11-22. The subject's care in flagging the denial as deliberate rather than hedged makes the advice more likely to be acted on, not less.
Verified at both ends per fact LF1. 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)