---
title: "@better-auth/core 1.7.27 Breaking Changes on npm | Since.dev"
description: "What each @better-auth/core release removed, renamed or changed: 298 breaking changes in 27 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@better-auth/core
last_updated: 2026-12-04
---

# @better-auth/core breaking changes

@better-auth/core 1.7.27 (November 20, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed jwks.keyPairConfig.alg. Every breaking API change we have recorded in @better-auth/core on npm: 298 breaking changes in 27 versions. Below, its 27 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.7.29`, released November 28, 2026. [Source repository](https://github.com/better-auth/better-auth)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.7.0](#v-1-7-0) to [1.7.27](#v-1-7-27): 111 breaking changes in 21 versions.

## @better-auth/core 1.7.27 breaking changes

@better-auth/core 1.7.27, released November 20, 2026: 2 breaking changes.

- **Behavior changed** `jwks.keyPairConfig.alg`  

If jwks.keyPairConfig.alg is not set and the newest key uses another algorithm, ID tokens, /token JWTs and cookie-cache JWTs change alg and kid on the next unpinned signature. Update verifiers that hard-code the old algorithm or never... [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.27)
- **Default changed** `originBoundFields`  

originBoundFields now defaults to \["post_logout_redirect_uris"\], so a client_uri on a different origin than the client_id is no longer checked. To keep rejecting it, add "client_uri" to originBoundFields. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.27)

## @better-auth/core 1.7.26 breaking changes

@better-auth/core 1.7.26, released November 18, 2026: 6 breaking changes.

- **Behavior changed** `adapter.getJwks`  

The custom JWT plugin adapter.getJwks is now called on every verification instead of its keys being cached. If reads are expensive, add caching inside your key store. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.26)
- **Signature changed** `oauth2:ProviderOptions`  

Was type ProviderOptions\<Profile extends object = object> = {clientId?: LiteralString | string\[\] | undefined; clientSecret?: string | undefined; scope?: string\[\] | undefined; disableDefaultScope?: boolean | undefined; redirectURI?: string... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.26)
- **Signature changed** `social-providers:kakao`  

Was const kakao: (options: KakaoOptions) => {id: "kakao"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<KakaoProfile>) => number; createAuthorizationURL({state, scopes, redirectURI, loginHint, additionalParams}: {state... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.26)
- **Signature changed** `social-providers:KakaoOptions.clientId`  

Was clientId: string; now clientId: string | string\[\]. [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.26)
- **Signature changed** `social-providers:socialProviders`  

Was const socialProviders: {apple: (options: AppleOptions) => {id: "apple"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<AppleProfile>) => string; createAuthorizationURL({state, scopes, redirectURI, additionalParams... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.26)
- **Signature changed** `social-providers:zoom`  

Was const zoom: (userOptions: ZoomOptions) => {id: "zoom"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<ZoomProfile>) => string; createAuthorizationURL: ({state, redirectURI, codeVerifier, additionalParams}: {state... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.26)

## @better-auth/core 1.7.25 breaking changes

@better-auth/core 1.7.25, released November 14, 2026: 1 breaking change.

- **Signature changed** `oauth2:createDpopReplayStore`  

Was function createDpopReplayStore(reservations: DpopReplayReservations): DpopReplayStore; now function createDpopReplayStore(source: DpopReplayAuthContext | DpopReplayReservations): DpopReplayStore. [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.25)

## @better-auth/core 1.7.24 breaking changes

@better-auth/core 1.7.24, released November 14, 2026: 1 breaking change.

- **Behavior changed** `requireActiveAccessToken`  

requireActiveAccessToken checks only the token and does not enforce DPoP binding. If you accept DPoP-bound tokens, call enforceDpopBinding from better-auth/oauth2 in your endpoint with the request and a shared replay store. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.24)

## @better-auth/core 1.7.23 breaking changes

@better-auth/core 1.7.23, released November 13, 2026: 1 breaking change.

- **Behavior changed**  

If your CORS layer sets its own Access-Control-Expose-Headers, add WWW-Authenticate to it so browser clients can read challenges. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.23)

## @better-auth/core 1.7.21 breaking changes

@better-auth/core 1.7.21, released November 11, 2026: 8 breaking changes.

- **Behavior changed** `baseURL.allowedHosts`  

If a wildcard in baseURL.allowedHosts covers your passkey rpID and you add tenants at runtime, return their origins from a trustedOrigins function. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.21)
- **Behavior changed** `discoveryUrl`  

Discovery requests that redirect to another origin now fail. Set discoveryUrl to the final URL if you set discoveryHeaders. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.21)
- **Behavior changed** `post_logout_redirect_uris`  

Clients that match on invalid_client_metadata for rejected post_logout_redirect_uris must check for invalid_redirect_uri instead. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.21)
- **Behavior changed** `sendVerificationEmail`  

A thrown error is now logged and sign-up still succeeds. To reject a sign-up, use a databaseHooks.user.create.before hook instead. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.21)
- **Behavior changed** `update`  

The update call now changes only one row when a non-unique filter matches several rows. If you need every matching row changed, use updateMany instead. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.21)
- **Signature changed** `db/internal:encodeDeterministicId`  

Was function encodeDeterministicId(digest: Uint8Array, options: Pick\<BetterAuthOptions, "advanced">): string; now function encodeDeterministicId(digest: Uint8Array, options: Pick\<BetterAuthOptions, "advanced">, target?: {adapter... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.21)
- **Signature changed** `oauth2:refreshAccessToken`  

Was function refreshAccessToken({refreshToken, options, tokenEndpoint, authentication, tokenEndpointAuth, extraParams, resource}: RefreshAccessTokenInput): Promise\<OAuth2Tokens>; now function refreshAccessToken({refreshToken, options... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.21)
- **Signature changed** `oauth2:refreshAccessTokenRequest`  

Was function refreshAccessTokenRequest({refreshToken, options, authentication, tokenEndpointAuth, tokenEndpoint, extraParams, resource}: RefreshAccessTokenRequestInput): Promise<{body: URLSearchParams; headers: Record\<string, string>;}>... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.21)

## Older versions

21 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @better-auth/core 1.7.20 breaking changes

@better-auth/core 1.7.20, released November 10, 2026: 1 breaking change.

- **Behavior changed**  

Discovery and the iss parameter no longer rewrite an http issuer to https. Set baseURL to the public https URL. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.20)

### @better-auth/core 1.7.19 breaking changes

@better-auth/core 1.7.19, released November 10, 2026: 1 breaking change.

- **Behavior changed** `device.token`  

A client_id rejected by validateClient now gets invalid_client instead of invalid_grant. Code that matches the old error code must be updated. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.19)

### @better-auth/core 1.7.16 breaking changes

@better-auth/core 1.7.16, released November 3, 2026: 2 breaking changes.

- **Signature changed** `social-providers:socialProviders`  

Was const socialProviders: {apple: (options: AppleOptions) => {id: "apple"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<AppleProfile>) => string; createAuthorizationURL({state, scopes, redirectURI, additionalParams... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.16)
- **Signature changed** `social-providers:zoom`  

Was const zoom: (userOptions: ZoomOptions) => {id: "zoom"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<ZoomProfile>) => string; createAuthorizationURL: ({state, redirectURI, codeVerifier, additionalParams}: {state... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.16)

### @better-auth/core 1.7.15 breaking changes

@better-auth/core 1.7.15, released November 1, 2026: 3 breaking changes.

- **Behavior changed**  

Token exchange, refresh, verification, and JWKS signing key requests from built-in social providers no longer follow HTTP redirects. Code relying on redirected endpoints must point at the final URL. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.15)
- **Behavior changed** `internalAdapter.createSession`  

Sessions created outside an endpoint, such as through internalAdapter.createSession, now fail for banned users. Code that creates sessions for banned users must handle this error. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.15)

And 1 more in this version.

### @better-auth/core 1.7.14 breaking changes

@better-auth/core 1.7.14, released October 26, 2026: 2 breaking changes.

- **Signature changed** `social-providers:kakao`  

Was const kakao: (options: KakaoOptions) => {id: "kakao"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<KakaoProfile>) => number; createAuthorizationURL({state, scopes, redirectURI, additionalParams}: {state: string... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.14)
- **Signature changed** `social-providers:socialProviders`  

Was const socialProviders: {apple: (options: AppleOptions) => {id: "apple"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<AppleProfile>) => string; createAuthorizationURL({state, scopes, redirectURI, additionalParams... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.14)

### @better-auth/core 1.7.13 breaking changes

@better-auth/core 1.7.13, released October 25, 2026: 12 breaking changes.

- **Signature changed** `api:createAuthMiddleware`  

Was const createAuthMiddleware: {\<Options extends \_$better_call0.MiddlewareOptions, R>(options: Options, handler: (ctx: \_$better_call0.MiddlewareContext\<Options, \_$\_better_auth_core0.PluginContext<\_$\_better_auth_core0.BetterAuthOptions> &... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.13)
- **Signature changed** `api:optionsMiddleware`  

Was const optionsMiddleware: \_$better_call0.Middleware<\_$better_call0.MiddlewareOptions, \<InputCtx extends \_$better_call0.MiddlewareInputContext<\_$better_call0.MiddlewareOptions>>(inputContext: InputCtx) => Promise\<AuthContext>>; now const... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.13)

And 10 more in this version.

### @better-auth/core 1.7.12 breaking changes

@better-auth/core 1.7.12, released October 20, 2026: 14 breaking changes.

- **Behavior changed**  

ID token sign-in rejects tokens for a provider that has no clientId. Set clientId to every client ID your apps sign in with. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.12)
- **Behavior changed**  

A custom Facebook getUserInfo no longer receives client-submitted access tokens issued to another Facebook app, and ID tokens missing exp or iat are rejected. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.12)

And 12 more in this version.

### @better-auth/core 1.7.11 breaking changes

@better-auth/core 1.7.11, released October 19, 2026: 4 breaking changes.

- **Behavior changed**  

Sign-in with Twitch and Paybin now validates ID token signatures and claims. Custom Paybin issuers must publish RS256 signing keys at the issuer's well-known JWKS path or sign-in will fail. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.11)
- **Signature changed** `BetterAuthPlugin`  

Was type BetterAuthPlugin = BetterAuthPluginErrorCodePart & {id: LiteralString; version?: string | undefined; init?: ((ctx: AuthContext) => Awaitable<{context?: DeepPartial\<Omit\<AuthContext, "options">> & Record\<string, unknown>; options?... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.11)

And 2 more in this version.

### @better-auth/core 1.7.8 breaking changes

@better-auth/core 1.7.8, released October 14, 2026: 2 breaking changes.

- **Signature changed** `social-providers:microsoft`  

Was const microsoft: (options: MicrosoftOptions) => {id: "microsoft"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<MicrosoftEntraIDProfile>) => string; createAuthorizationURL(data: {state: string; codeVerifier: string... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.8)
- **Signature changed** `social-providers:socialProviders`  

Was const socialProviders: {apple: (options: AppleOptions) => {id: "apple"; name: string; accountSubject: ({profile}: OAuthAccountKeyContext\<AppleProfile>) => string; createAuthorizationURL({state, scopes, redirectURI, additionalParams... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.8)

### @better-auth/core 1.7.7 breaking changes

@better-auth/core 1.7.7, released September 30, 2026: 3 breaking changes.

- **Behavior changed**  

Servers sharing verification storage must be upgraded together, and users must request new Magic Links. Pending OAuth and SAML sign-ins must be restarted. No database migration is required. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.7)
- **Behavior changed** `disableSignUp`  

ID-token sign-in previously ignored disableSignUp on social providers. It is now enforced, so sign-ins that would create new users may be refused. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.7)

And 1 more in this version.

### @better-auth/core 1.7.6 breaking changes

@better-auth/core 1.7.6, released September 24, 2026: 18 breaking changes.

- **Behavior changed** `maxPasswordLength`  

Passwords over the maxPasswordLength limit are now refused with PASSWORD_TOO_LONG before hashing or verification, so code that relied on longer passwords being accepted must handle this error. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.6)
- **Signature changed** `api:createAuthMiddleware`  

Was const createAuthMiddleware: {\<Options extends \_$better_call0.MiddlewareOptions, R>(options: Options, handler: (ctx: \_$better_call0.MiddlewareContext\<Options, \_$\_better_auth_core0.PluginContext<\_$\_better_auth_core0.BetterAuthOptions> &... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.6)

And 16 more in this version.

### @better-auth/core 1.7.5 breaking changes

@better-auth/core 1.7.5, released September 14, 2026: 2 breaking changes.

- **Signature changed** `BetterAuthOptions`  

Was type BetterAuthOptions = {appName?: string | undefined; baseURL?: BaseURLConfig | undefined; basePath?: string | undefined; secret?: string | undefined; secrets?: Array<{version: number; value: string;}> | undefined; database?... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.5)
- **Signature changed** `BetterAuthOptions.database`  

Was database?: (PostgresPool | MysqlPool | SqliteDatabase | Dialect | DBAdapterInstance | Database | DatabaseSync | D1Database | {dialect: Dialect; type: KyselyDatabaseType; casing?: "snake" | "camel"; debugLogs?: DBAdapterDebugLogOption... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.5)

### @better-auth/core 1.7.4 breaking changes

@better-auth/core 1.7.4, released September 10, 2026: 1 breaking change.

- **Signature changed** `BetterAuthOptions`  

Was type BetterAuthOptions = {appName?: string | undefined; baseURL?: BaseURLConfig | undefined; basePath?: string | undefined; secret?: string | undefined; secrets?: Array<{version: number; value: string;}> | undefined; database?... [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.4)

### @better-auth/core 1.7.3 breaking changes

@better-auth/core 1.7.3, released September 6, 2026: 23 breaking changes.

- **Removed** `db:createLocalAccountIssuer`  

createLocalAccountIssuer was removed in @better-auth/core 1.7.3 [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.3)
- **Removed** `db:createOAuthAccountIssuer`  

createOAuthAccountIssuer was removed in @better-auth/core 1.7.3 [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.3)

And 21 more in this version.

### @better-auth/core 1.7.2 breaking changes

@better-auth/core 1.7.2, released August 26, 2026: 4 breaking changes.

- **Behavior changed**  

Validation of relative callback and redirect URLs with paths, queries, and fragments was changed. Relative URLs that were accepted before may now be validated differently. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.2)
- **Behavior changed**  

Built-in placeholder emails were standardized to the namespaced {identifier}@{namespace}.placeholder.invalid format. Code that matches or stores the old placeholder email format may need to be updated. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.2)

And 2 more in this version.

### @better-auth/core 1.7.0 breaking changes

@better-auth/core 1.7.0, released August 18, 2026: 167 breaking changes.

- **Removed** `BetterAuthOptions.experimental`  

BetterAuthOptions.experimental was removed in @better-auth/core 1.7.0 [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.0)
- **Removed** `BetterAuthRateLimitStorage.get`  

BetterAuthRateLimitStorage.get was removed in @better-auth/core 1.7.0 [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.0)

And 165 more in this version.

### @better-auth/core 1.7.0-beta.6 breaking changes

@better-auth/core 1.7.0-beta.6, released August 18, 2026: 7 breaking changes.

- **Removed** `createMcpAuthClient`  

Install @better-auth/mcp and use createMcpResourceClient in place of createMcpAuthClient. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.6)
- **Removed** `mcp`  

The MCP plugin now lives in @better-auth/mcp; update imports from better-auth/plugins. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.6)

And 5 more in this version.

### @better-auth/core 1.7.0-beta.5 breaking changes

@better-auth/core 1.7.0-beta.5, released August 18, 2026: 4 breaking changes.

- **Removed** `oauth2:OAuthProvider.verifyIdToken`  

Custom providers must replace verifyIdToken with an idToken config object containing jwks, issuer, and audience. [npmjs.com](https://www.npmjs.com/package/@better-auth/core/v/1.7.0)
- **Removed** `signIn.social`  

PayPal no longer supports signIn.social with idToken. The redirect flow still works. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.5)

And 2 more in this version.

### @better-auth/core 1.7.0-beta.4 breaking changes

@better-auth/core 1.7.0-beta.4, released August 18, 2026: 5 breaking changes.

- **Behavior changed**  

Redirect URIs containing a fragment are now rejected. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.4)
- **Behavior changed**  

Access control now rejects empty action lists. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.4)

And 3 more in this version.

### @better-auth/core 1.7.0-beta.3 breaking changes

@better-auth/core 1.7.0-beta.3, released August 18, 2026: 1 breaking change.

- **Behavior changed** `deleteAccount`  

The deleteAccount parameter changed from accountId to id in the internal adapter. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.3)

### @better-auth/core 1.7.0-beta.0 breaking changes

@better-auth/core 1.7.0-beta.0, released August 18, 2026: 3 breaking changes.

- **Removed** `enableTwoFactor.skipVerificationOnEnable`  

The skipVerificationOnEnable option was removed; use method "otp" for immediate activation or the standard TOTP verification flow. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.0)
- **Behavior changed** `allowIdpInitiated`  

allowIdpInitiated now defaults to false; set saml.allowIdpInitiated to true to keep the previous IdP-initiated behavior. [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.0)

And 1 more in this version.

## Related packages

- [better-auth](https://since.dev/packages/npm/better-auth.md)
- [@better-auth/oauth-provider](https://since.dev/packages/npm/@better-auth/oauth-provider.md)
- [@better-auth/sso](https://since.dev/packages/npm/@better-auth/sso.md)
- [@better-auth/expo](https://since.dev/packages/npm/@better-auth/expo.md)
- [@better-auth/drizzle-adapter](https://since.dev/packages/npm/@better-auth/drizzle-adapter.md)
- [@better-auth/infra](https://since.dev/packages/npm/@better-auth/infra.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
