better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
1.7.27 is the newest release of 1.x.
In short
8 fixed
Release note
The section about better-auth of a note shared by several packages.
better-auth
Bug Fixes
- Security
Fixed organization and API key metadata, and OAuth proxy sign-ins with a
constructorfield inadditionalData, failing with a prototype pollution error Improved
BETTER_AUTH_SECRETSerror messages to report the entry position instead of including the entry valueFixed the admin
update-userendpoint to rejectdata.idwith a 400 error instead of attempting to change the user's primary keyFixed the admin plugin to reject banned users when a session is created outside an endpoint, such as through
internalAdapter.createSessionFixed headers and cookies set by a non-returning
hooks.beforehook being dropped from the response, with the endpoint's value winning when both set the same header or cookieFixed the Vue client's
useSession(useFetch)returning no session during Nuxt SSR whenbaseURLis inferred from the environmentFixed the
genericOAuthHubSpot helper truncating access tokens with reserved characters and now returningnullinstead of requesting/access-tokens/undefinedwhen no token is presentFixed
/sign-in/usernameand/is-username-availablerejecting usernames that sign-up accepts whenvalidationOrder.usernameispost-normalization
For detailed changes, see CHANGELOG
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.