releases.shpreview
Home/Better Auth
Better Auth

Better Auth

Mon
Wed
Fri
JunJulAugSepOctNovDecJanFebMarAprMayJun
Less
More
Releases31Avg Interval2dAvg Cadence12/mo
Recently Shipped26 releases · updated Jun 1, 2026

v1.6.13 and v1.7.0-beta.4 shipped on the same day, bringing server-side account info calls and a run of OAuth and session correctness fixes.

Server-side account info without session headersaccountInfo now accepts an optional userId parameter, letting trusted server callers read provider profiles directly.1 Available in both the stable v1.6.13 and the v1.7.0-beta.4 prerelease.

OAuth and session correctness across the stable line — fixes across v1.6.10 through v1.6.13 addressed:

  • Google One Tap authenticating the wrong user when the presented account was already linked to a different local user2
  • storeStateStrategy defaulting to "cookie" instead of "database" when only secondaryStorage is configured, causing oversized-cookie errors on AWS Lambda3
  • Duplicate Set-Cookie headers on social sign-in redirects
  • Session cookie refresh headers not being forwarded when resolving sessions
  • callbackURL encoding in verify-email and OAuth account-linking links

Security fixes in v1.6.11 — device authorization now binds pending codes to the verifying session, blocking any authenticated user from approving another user's device code.4 A race condition in the magic-link plugin that let concurrent requests mint multiple sessions from one single-use token was closed.5

Role and access-control correctionsrole.authorize was fixed to reject empty action lists and correctly evaluate OR conditions on unknown resources.6 Organization invitation roles now accept dynamic access-control values. TypeScript types for predefined organization roles were corrected to expose only their configured permissions.

Beta.3 and beta.4 additionshydrateSession seeds the client with a server-fetched session so useSession returns data on first render.7 An immutable username option locks a username after first set. The Auth instance is now directly fetchable.8

Sources

AI-generated summaries may contain mistakes.
Last Checked
3h ago
Category
Featured in
Tracking since Jun 24, 2025