@better-auth/i18n
1.7.12 · 20 Oct 2026MIT34k / weekRepositoryHomepagenpmAtom feed
Latest releases
All 54 releases1.7.12
20 Oct 2026Fixed the JWT plugin to verify JWTs and session cookie-cache JWTs with the stored key's algorithm instead of the token header's, and to warn when signing or verifying a JWT without an issuer or audience
Fixed OAuth callbacks completed through the OAuth proxy to run the same checks as the standard OAuth callback, including issuer and ID token nonce validation
Fixed
auth.api.getSession()to keep the original database error aserror.causewhen the session lookup fails
[!IMPORTANT]
Action requiredIf you use ID token sign-in with a provider that has no
clientId, setclientIdto every client ID your apps sign in with.
better-authBug Fixes
Fixed the JWT plugin to verify JWTs and session cookie-cache JWTs with the stored key's algorithm instead of the token header's, and to warn when signing or verifying a JWT without an issuer or audience
Fixed OAuth callbacks completed through the OAuth proxy to run the same checks as the standard OAuth callback, including issuer and ID token nonce validation
Fixed
auth.api.getSession()to keep the original database error aserror.causewhen the session lookup fails
For detailed changes, see
CHANGELOGBug Fixes
Fixed
mapProfileToUserfailing to typecheck underexactOptionalPropertyTypeswhen it returnsundefinedforname,email, orimageFixed ID token sign-in to reject tokens when the provider has no client ID, since their audience cannot be checked
Fixed a custom Facebook
getUserInfoto no longer receive client-submitted access tokens issued to another Facebook app, and ID tokens missingexporiatare now rejectedRestored the Twitch and Paybin ID token handling from before 1.7.11, which made account info fail once the ID token stored at sign-in expired
Added a
causeoption as a third argument toAPIError.from()to keep the underlying error for server-side callers without exposing it in the response
For detailed changes, see
CHANGELOGBug Fixes
Fixed
requireMcpAuthto accept only OAuth access tokens and reject session JWTs from the JWT plugin, even when they share the issuer and audience
For detailed changes, see
CHANGELOGBug Fixes
Fixed OIDC SSO sign-in to reject ID tokens missing
exporiatand providers with an empty client ID, matching social sign-in
For detailed changes, see
CHANGELOG1.7.11
19 Oct 2026Fixed repeated PostgreSQL migration diffs for
int8columns.Fixed database-backed rate limiting returning an excessively large
X-Retry-Aftervalue.Fixed plugin
initreturns withoptions: undefinedfailing type checks underexactOptionalPropertyTypes.
better-authBug Fixes
Fixed repeated PostgreSQL migration diffs for
int8columns.Fixed database-backed rate limiting returning an excessively large
X-Retry-Aftervalue.
For detailed changes, see
CHANGELOGBug Fixes
Fixed plugin
initreturns withoptions: undefinedfailing type checks underexactOptionalPropertyTypes.Fixed ID token signature and claim validation for Twitch and Paybin sign-in. Custom Paybin issuers must publish RS256 signing keys at
<issuer>/.well-known/jwks.json.Reduced installation size while preserving OpenTelemetry instrumentation attributes.
For detailed changes, see
CHANGELOGBug Fixes
Fixed OpenAPI schemas for
/oauth2/consentand/oauth2/continueto match their redirect responses.Fixed CIMD metadata refreshes overwriting concurrent administrator changes to discovered clients.
For detailed changes, see
CHANGELOGBug Fixes
Fixed Expo social account linking with ID tokens when a session cookie is present.
For detailed changes, see
CHANGELOG1.7.10
15 Oct 2026Fixed Captcha and OpenAPI plugin subpath imports and type resolution for
better-auth/plugins/multi-sessionandbetter-auth/test.Fixed Google One Tap sign-ins not recording
googleas the last login method.Fixed imports from
better-auth/plugins/one-tapfailing with a not-exported error.
better-authBug Fixes
Fixed Captcha and OpenAPI plugin subpath imports and type resolution for
better-auth/plugins/multi-sessionandbetter-auth/test.Fixed Google One Tap sign-ins not recording
googleas the last login method.Fixed imports from
better-auth/plugins/one-tapfailing with a not-exported error.Fixed Google One Tap ignoring plugin-level
autoSelectandcancelOnTapOutsidesettings.Fixed Google One Tap sign-ins ignoring configured Google profile mapping and user info updates.
Fixed Google One Tap calling a prompt method unsupported by FedCM and retrying skipped prompts.
For detailed changes, see
CHANGELOGFeatures
Added optional self-service signing key rotation for
private_key_jwtclients.
Bug Fixes
Fixed valid DPoP proofs being rejected for parameterized routes and URLs with trailing slashes.
Fixed native clients with HTTP loopback callbacks being rejected when application type inference is enabled.
Fixed device-code clients being unable to refresh access for approved resources omitted from a token poll.
Fixed OAuth consent without a reference overwriting or reusing consent for a different reference.
Fixed dynamic client registration rejecting requests that include both supported and unsupported grants.
Fixed attempts to change cached trusted clients returning HTTP 500 instead of HTTP 400.
Improved errors for unknown OAuth
client_idvalues to sayclient not found.Fixed PKCE verifier errors to return the specified HTTP 400 response and error code.
Fixed unknown OAuth clients receiving
invalid_grantinstead ofinvalid_clientat the token endpoint.Fixed unverifiable JWT access tokens causing server errors at
/oauth2/userinfo,/oauth2/introspect, and/oauth2/revoke.
For detailed changes, see
CHANGELOGBug Fixes
Limited JWKS refetches for unknown key IDs to protect servers from repeated requests.
Fixed unreachable JWKS endpoints being reported as invalid tokens instead of server errors.
For detailed changes, see
CHANGELOGBug Fixes
Fixed MongoDB
findManyignoring ID sorting and potentially repeating or skipping paginated results.
For detailed changes, see
CHANGELOG1.7.9
15 Oct 2026Fixed
onAPIError.onErrorhandlers to finish before responses are sent and log failures without interrupting requestsAdded
isContinuationtopostLogin.shouldRedirectso users can complete authorization after selecting an organizationFixed DPoP validation for token and UserInfo requests behind proxies that rewrite request URLs
better-authBug Fixes
Fixed
onAPIError.onErrorhandlers to finish before responses are sent and log failures without interrupting requests
For detailed changes, see
CHANGELOGBug Fixes
Added
isContinuationtopostLogin.shouldRedirectso users can complete authorization after selecting an organizationFixed DPoP validation for token and UserInfo requests behind proxies that rewrite request URLs
For detailed changes, see
CHANGELOG1.7.8
14 Oct 2026Aligned cookie security attributes with RFC 6265bis
Added SvelteKit 3 to the supported peer dependency range
Fixed stale cookies persisting after
customSessionsessions expire or are revoked
better-authBug Fixes
Aligned cookie security attributes with RFC 6265bis
Added SvelteKit 3 to the supported peer dependency range
Fixed stale cookies persisting after
customSessionsessions expire or are revokedFixed
customSessiontreating session lookup errors as signed-out usersFixed sign-in failures, replay checks, and SIWE email handling with
generateId: "uuid"Removed non-returned custom fields from inferred output schema types
Fixed Kysely migration foreign keys when custom table names match another model key
Reduced organization plugin server bundles by excluding unused Zod locales
Aligned
@better-auth/utilsandbetter-calldependency versions across official packagesFixed generic OAuth providers remaining unavailable after discovery fails at startup by retrying on subsequent requests
Fixed
lastLoginMethodsign-in failures whencookieNameormaxAgeis explicitlyundefinedFixed magic link verification changing percent-encoded characters in callback URLs
Fixed type errors when using
oauthProvider()ormcp()withexactOptionalPropertyTypesFixed organization plugin type errors in projects with
skipLibCheck: falseFixed failed password resets consuming reset links or OTPs before the new password is saved
Fixed password resets and changes retaining the new password when database session revocation fails
Fixed phone number password resets to use a configured
verifyOTPcallbackFixed secondary-storage session failures leaving sign-ups, passkey registrations, or SSO sign-ins in an inconsistent state
Fixed missing device sessions and failed automatic session switching after cache eviction
For detailed changes, see
CHANGELOGBug Fixes
Fixed ID token sign-in failures caused by up to 30 seconds of clock difference with identity providers
Fixed Atlassian user info errors being mislabeled as Figma errors in logs
Fixed authentication requests hanging after interrupted async context initialization
Fixed recognition of valid
AsyncLocalStorageinitialized after importing Better Auth but before first use, and corrected misleading errors for invalid runtime-provided values in edge and browser fallbacks.Fixed after hooks being skipped for writes retained after a failed request on adapters without transactions
Fixed Microsoft Entra ID sign-in and account linking with ID tokens when signing keys omit
algFixed sign-in failures, replay checks, and SIWE email handling with
generateId: "uuid"Aligned
@better-auth/utilsandbetter-calldependency versions across official packagesFixed concurrent MongoDB writes failing with transaction conflicts by retrying transient errors
Added support for host-bearing custom-scheme redirect URIs for native OAuth clients
Fixed password resets and changes retaining the new password when database session revocation fails
Fixed secondary-storage session failures leaving sign-ups, passkey registrations, or SSO sign-ins in an inconsistent state
Fixed missing device sessions and failed automatic session switching after cache eviction
For detailed changes, see
CHANGELOGFeatures
Added support for pausing and resuming OAuth clients through
adminUpdateOAuthClientAdded support for linking protected resources when registering a client with
adminCreateOAuthClientAdded resource identifier validation for
adminCreateOAuthResourceand configuredresourcesAdded
clientIdtoclientPrivilegeschecks for actions on existing OAuth clients
Bug Fixes
Fixed sign-in failures, replay checks, and SIWE email handling with
generateId: "uuid"Aligned
@better-auth/utilsandbetter-calldependency versions across official packagesAdded support for host-bearing custom-scheme redirect URIs for native OAuth clients
Fixed startup resource-seeding failures from blocking authentication routes until restart
Fixed type errors when using
oauthProvider()ormcp()withexactOptionalPropertyTypes
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packagesFixed SSO provider registration and updates rejecting partial
mappingvalues that omit defaulted fieldsFixed SAML providers with linked accounts rejecting IdP signing certificate rotation
Rejected OIDC SSO providers whose configured issuer does not match discovery, preventing later sign-in failures
Fixed SAML providers with linked accounts rejecting changes to their post-login
callbackUrlFixed OIDC sign-in when the mapped email claim contains a list of addresses
For detailed changes, see
CHANGELOGBug Fixes
Fixed SCIM reprovisioning of inactive users with an existing
externalIdAligned
@better-auth/utilsandbetter-calldependency versions across official packagesFixed SCIM requests silently ignoring attribute names with different letter case
Fixed concurrent SCIM updates to return
409instead of500when a unique value is already claimedFixed SCIM User and Group requests rejecting nullable attributes sent as JSON
null
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packagesFixed failed MongoDB transaction commits leaving transactions open and blocking other writes
Fixed concurrent MongoDB writes failing with transaction conflicts by retrying transient errors
Fixed MongoDB authentication errors masking the original transaction commit failure
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packagesFixed Drizzle sign-in, session refresh, and date filtering with string-based date columns
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packagesFixed cross-request I/O errors from concurrent D1 queries on a shared auth instance with Kysely 0.29
For detailed changes, see
CHANGELOGBug Fixes
Fixed
@better-auth/mcptype errors withexactOptionalPropertyTypesandskipLibCheck: falseFixed type errors when using
oauthProvider()ormcp()withexactOptionalPropertyTypes
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packages
For detailed changes, see
CHANGELOGBug Fixes
Added support for host-bearing custom-scheme redirect URIs for native OAuth clients
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packages
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packages
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packages
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packages
For detailed changes, see
CHANGELOGBug Fixes
Stopped reporting completed one-time Stripe checkouts as webhook failures
For detailed changes, see
CHANGELOGBug Fixes
Aligned
@better-auth/utilsandbetter-calldependency versions across official packages
For detailed changes, see
CHANGELOG
Dependency tracking · free for 3 projects
Know when your own dependencies move
@better-auth/i18n published 54 releases in the last 12 months. Inlinr folds the routine ones into a line and keeps the few that need you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 22 Oct 2026. Releases and advisories last read 22 Oct 2026.