8000 build(deps): bump @better-auth/core from 1.7.12 to 1.7.27 by dependabot[bot] · Pull Request #15 · inkspect-code-review/inkspect-ui · GitHub
[go: up one dir, main page]

Skip to content

build(deps): bump @better-auth/core from 1.7.12 to 1.7.27 - #15

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/better-auth/core-1.7.27
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/better-auth/core-1.7.27

Conversation

@dependabot
@dependabot dependabot Bot commented on behalf of github Nov 25, 2026 •
Copy link
Copy Markdown

Bumps @better-auth/core from 1.7.12 to 1.7.27.

Release notes

Sourced from @​better-auth/core's releases.

v1.7.27

[!IMPORTANT] Action required

  • If you have no key for jwks.keyPairConfig.alg and your newest key uses another jwks.keyPairConfigs algorithm, your ID tokens, /token JWTs, and cookie-cache JWTs change alg and kid on the next unpinned signature, so update verifiers that hard-code the old algorithm or never refetch the JWKS for an unknown kid. (#12655)
  • If you want to keep rejecting a client_uri on a different origin than the client_id, add "client_uri" to originBoundFields, which now defaults to ["post_logout_redirect_uris"]. (#12822)

better-auth

Bug Fixes

  • Fixed the phone number plugin returning a 500 instead of a 400 from /update-user when the request has no body (#12810)
  • Fixed the username plugin returning a 500 on /sign-up/email and /update-user when the request has no body; it now returns the same 400 as without the plugin (#12810)
  • Fixed /sign-in/anonymous to validate the request origin, returning a 403 for browser requests from origins outside trustedOrigins (#12809)
  • Fixed unpinned tokens such as ID tokens and session JWTs to prefer a key for the primary jwks.keyPairConfig.alg algorithm (#12655)
  • Fixed getTestInstance from better-auth/test to run every instance cleanup even when one fails, so databases and connections are not left open (#12553)
  • Fixed POST requests without a body, such as /sign-out or /revoke-sessions, failing with a 415 on Deno, Next.js, Nuxt and other servers that pass an empty body stream (#12805)

For detailed changes, see CHANGELOG

@better-auth/oauth-provider

Features

  • Added the isCrossOriginJwksUriAllowed option to cimd() so you can accept Client ID Metadata Document clients whose jwks_uri is on a different origin than their client_id (#12823)
  • Fixed administrator updates to discovered clients that publish keys at a jwks_uri, such as setting client_credentials_scopes through adminUpdateOAuthClient (#12823)
  • Added the jwksStaleIfError option to keep verifying client assertions with cached jwks_uri keys while refetching fails transiently (#12824)
  • Added the requireOpenId option to oauthProvider to reject /oauth2/authorize requests that lack the openid scope with invalid_scope (#12729)
  • Added the resourceSeedScope option to oauthProvider so apps that build Better Auth on every request can stop re-reading oauthResource each time (#12733)
  • Added advertisedMetadata.token_endpoint_auth_methods_supported so providers can advertise accepted token endpoint client authentication methods, including public clients (#12732)

Bug Fixes

  • Fixed Client ID Metadata Document and jwks_uri responses refused before their body is read, such as error statuses or non-JSON content types, holding connections open (#12819)
  • Fixed the signed OAuth query failing with invalid_signature when a proxy, router, or login page URL-decodes it once (#12728)
  • Fixed the end-session endpoint to accept issued ID token hints when the issuer ends with a trailing slash (#12713)
  • Fixed signing keys and post-logout redirect URIs removed from a client's metadata document continuing to work after a refresh (#12821)
  • Fixed concurrent first requests from the same Client ID Metadata Document client failing with a server error when the database wraps the unique-constraint error (#12820)
  • Fixed refresh tokens without offline_access to stop working once their session expires or is deleted (#12812)
  • Fixed a client losing its offline_access grants on other devices after using a session-bound refresh token following sign-out (#12812)
  • Fixed oauthProviderClient to send form-encoded bodies as form fields and leave non-object JSON bodies such as arrays unchanged (#12726)
  • Fixed oauthProviderClient to stop rewriting request bodies on pages whose query string is not a signed OAuth query (#12726)
  • Fixed back-channel logout, jwks_uri client authentication, and Client ID Metadata Document fetches failing on Cloudflare Workers (#12817)
  • Fixed OIDC SSO sign-in with signIn.sso to resume the OAuth authorization instead of leaving the user on the sign-in callbackURL (#12727)
  • Fixed private_key_jwt clients losing their cached jwks_uri key set while still authenticating when more than 500 key sets are cached (#12721)
  • Improved private_key_jwt authentication so concurrent assertions for the same jwks_uri share a single fetch of the client's key set (#12721)
  • Fixed /oauth2/introspect to return the client ID as sub for JWT client_credentials tokens issued to pairwise clients (#12671)

For detailed changes, see CHANGELOG

... (truncated)

Changelog

Sourced from @​better-auth/core's changelog.

1.7.27

Patch Changes

  • #12722 5956cb7 Thanks @​gustavovalverde! - Fixed valid access tokens being rejected while the JWKS refetch fails or times out, such as on a slow cold start. After the five-minute key cache expires and the refetch fails, verifyBearerToken, verifyAccessTokenRequest, and verifyJwsAccessToken now verify against the expired key set when it holds the token's kid (or the token has no kid) and was fetched less than 10 minutes ago. Verification still fails with the key set error with no cached set, such as on a cold start, for a kid the set lacks, and once the set is older than 10 minutes. The 10 minutes are a local choice that ignores the key set's Cache-Control, so a token signed with a key the issuer already rotated out can still pass for up to 10 minutes after the last successful fetch. getJwks and validateToken do not use the expired set.

  • #12807 559c837 Thanks @​bytaesu! - The edge and browser build now uses the runtime's AsyncLocalStorage when one exists, so overlapping requests no longer read each other's request state. Where none exists, the fallback no longer keeps the store of a request that has finished or thrown.

1.7.26

Patch Changes

  • #12620 ddcb9a2 Thanks @​gustavovalverde! - Authorization URLs now keep empty segments of the authorization endpoint's query, such as a trailing or doubled &. The rest of the endpoint's query is sent as published, except for the parameters Better Auth sets, which still replace the endpoint's own values.

  • #12315 836b13e Thanks @​honuuk! - Kakao sign-in now uses PKCE, sending code_challenge in the authorization request and code_verifier in the token request.

  • #12625 54c1b69 Thanks @​gustavovalverde! - A DPoP proof's replay reservation now lasts one second past the proof's accepted window. Before, the reservation could expire up to a second before the proof stopped being accepted, so a proof could be reused once in that last second. This affects the in-memory, database, and secondary-storage replay stores.

  • #12692 cbbfab2 Thanks @​gustavovalverde! - The shared host classifier now treats an IPv6 address as public only inside global unicast 2000::/3, with the exception of the well-known NAT64 block 64:ff9b::/96, which is public when the IPv4 address it embeds is public. Addresses inside 2000::/3 keep their class. Addresses outside both that used to classify as public, such as 200::1, 4000::1, 8000::1, 100:0:0:1::1, and the IPv4-translated ::ffff:0:7f00:1, now classify as reserved, so isPublicRoutableHost rejects them. Loopback, unspecified, link-local, unique local, multicast, and IPv4-mapped addresses keep their existing kinds.

  • #12692 cbbfab2 Thanks @​gustavovalverde! - The shared host classifier now treats a well-known NAT64 address (64:ff9b::/96) as public when the IPv4 address it embeds is public, and as reserved otherwise, as it already does for 6to4. Addresses in this block were always reserved, so on a network with a DNS64 resolver, names with only an A record failed the outbound checks in SSO discovery, CIMD metadata fetches, and client registration. A NAT64 address that embeds a loopback, private, or other non-public IPv4 is still rejected.

  • #12692 cbbfab2 Thanks @​gustavovalverde! - IPv6 addresses with a dotted IPv4 tail, such as ::ffff:808:127.0.0.1, are no longer misread as IPv4-mapped. The host classifier now rejects them as reserved, and IP normalization and CIDR matching expand the tail into two hex groups.

  • #12734 ae6584c Thanks @​gustavovalverde! - Social providers accept a getAccountFields option that stores your own values on the provider account. Return values for the fields you declare in account.additionalFields, and Better Auth saves them when the account is created, linked, or updated at sign-in. The option does nothing when you leave it unset, and it cannot replace the provider ID, account ID, or tokens.

  • #12316 de4ccfd Thanks @​honuuk! - Kakao now supports ID token sign-in, so ID tokens from Kakao's native SDKs can be passed to signIn.social. clientId also accepts an array to include the native app key.

1.7.25

Patch Changes

  • #12572 69e14d8 Thanks @​gustavovalverde! - Authorization URLs now keep the authorization endpoint's existing query text unchanged. Before, building the URL re-encoded parameters already on the endpoint, for example %20 became +, which broke providers that expect the exact query they published. A parameter that Better Auth sets still replaces an endpoint parameter with the same name.

  • #12586 2a8750b Thanks @​gustavovalverde! - The default in-memory DPoP replay store used by verifyAccessTokenRequest no longer slows down as traffic grows. Before, each DPoP request scanned every proof recorded in the replay window, so CPU time per request grew with the request rate.

  • #12587 75c0821 Thanks @​gustavovalverde! - DPoP now works on deployments that keep verification values only in secondary storage. Before, every request with a DPoP proof to the OAuth provider, UserInfo, or requireMcpAuth failed with a 500 error unless verification.storeInDatabase: true was set. Used proofs are now recorded in secondary storage, so a replayed proof is still rejected across instances. createDpopReplayStore now also accepts the auth context, as createDpopReplayStore(await auth.$context), and picks the same storage.

1.7.24

Patch Changes

1.7.23

Patch Changes

  • #12501 cfa73e9 Thanks @​gustavovalverde! - requireMcpAuth now reads the signing keys from the auth instance instead of requesting its own /jwks endpoint, so MCP routes served from the same app as the auth server no longer fail with a 500 on runtimes that block requests to their own hostname, such as a single Cloudflare Worker.

... (truncated)

Commits
  • 9faf6f6 chore: release v1.7.27 (#12811)
  • 5956cb7 fix(core): fall back to an expired JWKS when the refetch fails (#12722)
  • 559c837 fix(core): use the runtime AsyncLocalStorage in the edge and browser build (#...
  • 36ae40b chore: release v1.7.26 (#12627)
  • ae6584c feat(better-auth): add getAccountFields to store provider account fields (#12...
  • cbbfab2 fix(core): treat IPv6 as public only inside global unicast 2000::/3 (#12692)
  • de4ccfd feat(kakao): support ID token sign-in (#12316)
  • 836b13e fix(kakao): forward codeVerifier for PKCE (#12315)
  • ddcb9a2 fix(core): keep empty segments of the authorization endpoint query (#12620)
  • 54c1b69 fix(core): keep DPoP replay reservations through the accepted window (#12625)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 25, 2026
Bumps [@better-auth/core](https://github.com/better-auth/better-auth/tree/HEAD/packages/core) from 1.7.12 to 1.7.27.
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/core/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.7.27/packages/core)

---
updated-dependencies:
- dependency-name: "@better-auth/core"
  dependency-version: 1.7.27
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/better-auth/core-1.7.27 branch from 98d1102 to 726fead Compare November 26, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

0