Releases Index

better-auth

$npx @buildinternet/releases get better-auth
Mon
Wed
Fri
NovDecJanFebMarAprMayJunJulAugSepOctNov
Less
More
Releases33Avg10/moVersionsv1.6.30 to v1.7.27
v1.8.0-beta.11

CIBA now requires client authentication, answering invalid_client with a 401 challenge, and the allowPublicClients option is removed, so clients using token_endpoint_auth_method "none" are always rejected. Adding the cibaRequest columns and oauthResource accessTokenFormat column requires running npx auth@latest migrate before upgrading, and OAuth provider tokens now carry the same iss as the discovery issuer.

Read more ↗
v1.7.26

DPoP proof replay reservations now last through the full accepted window so a proof can no longer be reused in its final second, and revoking another client's already revoked refresh token no longer deletes the presenting client's own tokens. Custom JWT plugin adapter.getJwks is now called on every verification, plus fixes for IPv6 host classification, NAT64 outbound checks, and Kakao PKCE sign-in.

Read more ↗
v1.7.25

DPoP requests no longer fail with a 500 error on deployments that keep verification values only in secondary storage. Endpoint errors now preserve Access-Control-Expose-Headers names set by a hook, and OAuth provider 401 challenges expose WWW-Authenticate to cross-origin browser clients on every endpoint.

Read more ↗
v1.7.24

Endpoints that accept DPoP-bound tokens must now call enforceDpopBinding from better-auth/oauth2 with the request and a shared replay store. Plugin hook and endpoint errors no longer surface as generic 500s when an app installs more than one copy of better-call, and official packages accept any better-call 1.4 patch release from 1.4.5 as a peer so plugins share one copy.

Read more ↗
v1.7.23

RequireMcpAuth deployments that want to keep fetching signing keys over HTTP must now set jwksUrl, and createMcpProtectedRequestHandler in multi-instance or serverless setups needs dpop.replayStore pointed at a shared store. CORS layers that set their own Access-Control-Expose-Headers must include WWW-Authenticate so cross-origin clients can read OAuth and MCP challenges.

Read more ↗
v1.7.22

Verification value consumption no longer hangs on Cloudflare Workers, and module-scope auth instances no longer log a schema validation error on every cold start. Revoking the current session or deleting a user now expires session cookies, and introspected tokens failing claim checks return 401 instead of 500.

Read more ↗
v1.7.21

SCIM now returns 501 on adapters without native transactions and requires switching to one with native transactions to provision users and groups, while the Prisma adapter's update changes only one matching row. The release also fixes Generic OAuth hanging on Cloudflare Workers with discoveryUrl, the OAuth provider returning [object Promise] as the refresh token, and Mongo indexes for unique fields to prevent duplicate concurrent sign-ups.

Read more ↗
v1.7.20

POST /oauth2/public-client-prelogin with allowPublicClientPrelogin now returns a client only when its client_id matches the signed oauth_query, responding 401 invalid_client otherwise, and SAML assertion validation applies the default 5-minute saml.clockSkew to NotBefore and NotOnOrAfter checks. The release also fixes the Prisma adapter's case-insensitive filters on PostgreSQL and MongoDB and matching of unset optional fields under eq null.

Read more ↗
v1.7.19

Fixed /admin/create-user leaving a user without a credential account when account creation or password validation failed, which made retrying with the same email fail with USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL. The CLI now exits with code 2 and names the missing flag instead of hanging at prompts in CI, and prints errors without stack traces.

Read more ↗
v1.7.18

Revoking all sessions with secondaryStorage and storeSessionInDatabase now also revokes sessions created while the revocation is running, except those created by a session.delete.after hook. Fixed getTestInstance closing its Postgres pool and SQLite database when a test file finishes, MySQL test instances hanging, and introspected tokens being rejected when verifyOptions.typ is set.

Read more ↗
v1.7.17

Remembered sign-ins and sign-ups now refresh their session even if an earlier sign-in in the same browser used rememberMe: false, and the phone number plugin no longer stores an empty phoneNumber on sign-up or replaces a verified number when linking an account with an empty one. TOTP verification now accepts API key sessions so they can finish two-factor enrollment, and passkey registration and sign-in work when one passkey() plugin is shared between auth instances where only some set baseURL.

Read more ↗
v1.7.16

Revoked sessions no longer stay usable with secondary storage or the cookie cache, and phone numbers are now stored only after verification. Email verification links and email-change codes are bound to the account they were issued to, OAuth string email_verified values like "false" are no longer treated as verified, and /admin/update-user now requires the user:set-phone permission.

Read more ↗
v1.7.15

Organization and API key metadata plus OAuth proxy sign-ins with a constructor field in additionalData no longer fail with a prototype pollution error, and the Stripe /subscription/success endpoint now validates callbackURL against trusted origins after replacing the checkout session placeholder. Also fixed the admin update-user endpoint rejecting data.id with a 400, banned users rejected on internally created sessions, and dropped headers from non-returning hooks.before.

Read more ↗
v1.7.13

The Cloudflare provider gains tokenEndpointAuth: { method } while tokenEndpointAuthMethod is deprecated but still supported. Also adds Vercel token endpoint auth options (dynamic OIDC tokens, private key JWT client assertions), Stripe SDK v23 support in the Stripe plugin, and fixes type declarations so type-only exports are no longer listed as values.

Read more ↗
v1.7.12

ID token sign-in now rejects tokens from providers with no clientId, since audience cannot be checked, so every provider using ID token sign-in must set clientId. The JWT plugin now verifies tokens with the stored key's algorithm and warns when issuer or audience is missing, and OAuth proxy callbacks run the same issuer and nonce checks as standard callbacks.

Read more ↗
v1.7.11

Fixed repeated PostgreSQL migration diffs for int8 columns and database-backed rate limiting returning an excessively large X-Retry-After value. ID token signature and claim validation is fixed for Twitch and Paybin sign-in, and CIMD metadata refreshes no longer overwrite concurrent administrator changes to discovered clients.

Read more ↗
Last Checked
11m ago
Latest
v1.8.0-beta.11
Tracking since Nov 22, 2025