Better Auth v1.7.16
This release fixes authentication and authorization issues across Better Auth and its provider, passkey, Expo, Electron, and Stripe packages. Key fixes prevent revoked or unverified sessions and identities from being accepted, bind verification and authorization flows to the correct account or browser session, and tighten origin and role checks. It also changes the permission required for admin phone-number updates and how server code sets Stripe customer IDs.
Applications using Better Auth’s admin phone updates, Stripe integration, session caching, OAuth, passkeys, or desktop and mobile authorization flows may be affected by these fixes and behavior changes.
Review custom access-control statements and any server-side Stripe customer ID updates, then upgrade to v1.7.16.
- 01Add `set-phone` to custom access-control statements if they should permit `/admin/update-user` to change phone numbers.
- 02If server code sets `stripeCustomerId` through `auth.api.updateUser`, change it to write through the database adapter.
# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.