Packages

better-auth

1.7.25 · 14 Nov 2026MIT21M / weekRepositoryHomepagenpmAtom feed

Your version

1.1.19

20 Feb 2025Where it was published

1.7.27 is the newest release of 1.x.

In short

1 removed5 new14 fixed

  • Removed

    passkey: Remove client export from the server plugin

Security

17 advisories affect 1.1.19; 1.6.22 fixes them

12 more

Release note

Features

  • cli: Add support for auth.server.ts

  • mongodb-adapter: Support custom ID generation in MongoDB adapter

  • one-tap: Improve Google One Tap integration with JWT verification and improved prompt handling

  • two-factor: Activate two factor with email OTP to avoid Insecure skipVerificationOnEnable

Bug Fixes

  • admin: Impersonate user session expiration

  • admin: Unban should reset expiration date and reason

  • api: Config in getSessionFromCtx overrides query param

  • auth: Use options.baseURL instead of ctx.baseURL on trusted origins

  • db: Normalize email to lowercase in change email verification

  • email-otp: Don’t save email address as user name

  • generic-oauth: Support allowDifferentEmails on Generic OAuth Plugin

  • jwt-plugin: Include alg in jwks response

  • oauth: Set tokens on oauth account created during link

  • oidc-plugin: User info endpoint casing to match OIDC spec

  • oidc-plugin: DeleteVerificationValue call by id

  • oidc-plugin: Store and handle nonce value

  • oidc-plugin: Sub is required /userinfo response

  • open-api: Convert path parameters to OpenAPI format

  • open-api: Add missing id field in generated OpenAPI for each schema (Models)

  • Removed

    passkey: Remove client export from the server plugin

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.