Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.6.13

31 May 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

1 new6 fixed

Security

Fixes 1 advisory that affected 1.6.12

4 advisories affect 1.6.13; 1.7.7 fixes them

Release note

The section about better-auth of a note shared by several packages.

better-auth

Features

  • Added support for server-side accountInfo calls with an optional userId parameter, allowing trusted callers to read provider profiles without constructing session headers

Bug Fixes

  • Clarified that viewBackupCodes is a server-only function not accessible via HTTP in its API documentation

  • Fixed Google One Tap authenticating the wrong user when the presented Google account is already linked to a different local user, by resolving identity through the shared OAuth path

  • Fixed storeStateStrategy defaulting to "cookie" instead of "database" when only secondaryStorage is configured, preventing oversized-cookie errors on platforms like AWS Lambda

  • Fixed updateUserInfoOnLink not being applied when linking accounts through the standard OAuth redirect flow

  • Fixed oidc-provider and mcp plugins accepting invalid redirect_uri schemes such as javascript: and data:

  • Fixed organization logo not accepting null, preventing users from clearing an existing logo on create and update

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.