Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.4.18

29 Jan 2026Where it was published

1.7.27 is the newest release of 1.x.

In short

7 new1 faster27 fixed1 internal

Security

12 advisories affect 1.4.18; 1.7.7 fixes them

7 more

Release note

Features

  • Add disableImplicitLinking to accountLinking

  • Mark /forget-password/email-otp as deprecation

  • device-authorization: Add user id checks

  • one-tap: Add button mode for Google sign-in

  • sso: Support multi-domain providers

  • sso: Add provider list and detail endpoints

Bug Fixes

  • Correctly handle OAuth callback and Apple email field

  • Centralize cookie parsing and handle Expires dates correctly

  • Refresh account_data cookie when session is refreshed

  • Remove duplicate secondary storage writes from setSessionCookie

  • Set default logger level to "warn"

  • Respect the explicitly set sendOnSignUp option

  • Handle serial and false cases in generateId

  • Log error when misconfigured

  • Update google oauth endpoints

  • Consistent api version for facebook provider

  • Check jsconfig.json in getPathAliases

  • 2fa: Server-side trust device expiration and configurable maxAge

  • anonymous: Export types

  • cli: Use inkeep remote mcp url

  • cli: Update MCP URL from Chonkie to Inkeep

  • core: Consolidate rateLimit table schema definition

  • email-otp: Add stricter default rate limits for password reset endpoints

  • expo: Prevent null cookie key when redirect URL has no cookie param

  • expo: Prevent duplicate listener notifications in FocusManager and OnlineManager

  • mcp: Remove local mpc

  • multi-session: Prevent duplicate cookies when same user signs in multiple times

  • oauth-provider: Properly handle metadata field in client registration

  • okta: Userinfo route mismatch

  • organization: Filter returned: false fields from API responses

  • saml: IdP-Initiated Callback Routing

  • session: Skip invalid sessions in list

  • stripe: Allow billing interval change for same plan

  • stripe: Find active subscription correctly when upgrading

Performance

  • Fix infinite typecheck

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.