Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.1.20

24 Feb 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

4 new6 fixed

Security

Fixes 1 advisory that affected 1.1.19

16 advisories affect 1.1.20; 1.6.22 fixes them

11 more

Release note

Features

  • email-otp: Add option to set a function to generate OTPs

  • sso: Sign in using the providerId

Bug Fixes

  • Add email verification for in place email updates

  • Add callback URL to update email verification link

  • one-tap: Update import path for generateRandomString to fix unsupported crypto import for react native

  • one-tap: Remove random string generator for nonce to fix expo client

  • organizaiton: Restrict admins from removing or updating owners or members with creator roles

  • origin-check: Exclude URLs with double slashes

  • origin-check: Prevent URLs with double slashes from being trusted

  • session: Include expiresAt in session data for HMAC verification

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.