better-auth
1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed
1.7.27 is the newest release of 1.x.
In short
7 fixed
Release note
The section about better-auth of a note shared by several packages.
better-auth
Bug Fixes
Fixed sessions created by a
session.delete.afterhook being treated as revoked during "revoke all sessions" when usingsecondaryStoragewithstoreSessionInDatabaseFixed remembered sign-ins and sign-ups to refresh their session even if an earlier sign-in in the same browser used
rememberMe: falseFixed denying a device authorization request to reject a revoked session that is still in the cookie cache
Fixed IP wildcard trusted origins such as
exp://192.168.*.*:*matching custom-scheme hosts with out-of-range or zero-padded octetsFixed the phone number plugin storing an empty
phoneNumberon sign-up and replacing a verified number when linking an account with an empty phone numberFixed TOTP verification rejecting API key sessions so they can now finish two-factor enrollment
Fixed trusted devices being ignored when an app runs the two-factor sign-in step from its own hook on another sign-in path, such as email OTP
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.