better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
1.7.27 is the newest release of 1.x.
In short
12 fixed
Release note
The section about better-auth of a note shared by several packages.
better-auth
Bug Fixes
Fixed
/admin/create-userleaving a user without a credential account when creating that account failed, such as a database hook throwing, which made retrying with the same email fail withUSER_ALREADY_EXISTS_USE_ANOTHER_EMAILFixed
/admin/create-userleaving a user without a credential account when the password was rejected, such as by the Have I Been Pwned plugin, which made retrying with the same email fail withUSER_ALREADY_EXISTS_USE_ANOTHER_EMAILFixed client actions ignoring the HTTP method passed in second-argument fetch options, and attaching a request body when the method was a lowercase
getorHEADFixed plugin schema overrides (
modelNameand field names) leaking into other instances of the same plugin in one processFixed
/device/tokenreturninginvalid_grantinstead ofinvalid_clientwhenvalidateClientrejects theclient_id, matching/device/codeand RFC 6749 section 5.2Fixed OAuth sign-in failing with
state_mismatchduring the daylight saving time fall-back hour when OAuth state is stored in the database and the server's time zone observes daylight saving timeFixed the OpenAPI schema to document query parameters for endpoints whose query schema is wrapped in
z.optional(), such as/get-sessionand Stripe's/subscription/listFixed
organization.getInvitationto return theINVITATION_NOT_FOUNDcode for a missing, expired, or non-pending invitationFixed
listMembersfailing with a syntax error on PostgreSQL and MSSQL when the filter matches no members or the offset is past the last memberFixed the
active-sessionslist in secondary storage being stored without an expiry when every remaining session had less than a second leftFixed SIWE sign-in leaving a user behind when creating its wallet address or account failed, which blocked that wallet from signing in again
Fixed social sign-up hanging on single-connection databases when the username plugin is enabled and the provider profile maps a username
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.