Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.4.7

14 Dec 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

7 new1 faster4 fixed

Security

13 advisories affect 1.4.7; 1.7.7 fixes them

8 more

Release note

Features

  • admin: Add support role with permissions for user updates and enforce role change validation

  • one-time-token: Support setting session cookie on ott verify

  • phone-number: Add password length validation for reset functionality

  • saml: Assertion timestamp validation with per-provider clock skew

  • sso: Add InResponseTo validation

  • sso: Add OIDC discovery

  • sso: Add URL normalization and validation to all discovery URLs

Bug Fixes

  • Prevent stateless refresh with database configured

  • api-key: Check metadata is enabled for api key update endpoint

  • line: Enforce nonce

  • saml: Remove signature validation bypass

Performance

  • Add index on organizations slug field

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.