Skip to content

chore(deps): Bump the auth group across 1 directory with 5 updates - #3110

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/auth-7735e70fdc
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/auth-7735e70fdc

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps the auth group with 5 updates in the / directory:

Package From To
@better-auth-ui/core 1.7.29 1.7.34
@better-auth-ui/react 1.7.29 1.7.34
@better-auth/api-key 1.7.7 1.7.28
@better-auth/oauth-provider 1.7.7 1.7.28
better-auth 1.7.7 1.7.28

Updates @better-auth-ui/core from 1.7.29 to 1.7.34

Release notes

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

v1.7.34

1.7.34 (2026-11-11)

🚀 Features

  • docs: add copyable agent integration and upgrade prompts (4719ae0)
  • shadcn: add React Aria support (#592)

🩹 Fixes

  • auth: handle potentially undefined form and sorting values (#593)
  • auth: preserve admin inspector profile values (#594)

❤️ Thank You

Update with your coding agent

Copy this prompt into your coding agent to apply this release to your codebase.

Update this codebase's existing Better Auth UI integration to version 1.7.34. Apply the changes in the codebase, including usage migrations.
  1. Read the repository instructions and inspect the codebase before editing. Use its package manager, framework, router, UI library, and conventions.
  2. Identify installed Better Auth UI and Better Auth versions, providers, plugins, and any copied registry components. Preserve unrelated work and application customizations.
  3. Detect the existing stack. Support React with shadcn/ui or HeroUI, SolidJS with Zaidan, or React Native as appropriate. Keep the current stack.
  4. Resolve version 1.7.34 and read its release notes and migration guides. Compare the installed version and copied source baseline with that release, including intermediate breaking changes. Do not assume main or the live registry matches the target release.
  5. For copied shadcn/ui or Zaidan components, inspect the registry manifest and its dependency files. Match upstream files to local paths and aliases.
  6. Compare old upstream, local, and target upstream source. Apply upstream differences as patches while preserving intentional local changes. If the original baseline is unknown, explain the uncertainty and compare files individually.
  7. Add new required files, patch changed files, and migrate renamed files and their imports. Delete a copied file only when upstream removed it, its remaining usages are migrated, and it contains no needed application code. Do not delete shared primitives or unrelated files.
  8. For packaged components such as HeroUI, update package dependencies and application usage instead of copying package internals. Keep related Better Auth UI packages compatible.
  9. Update imports, props, hooks, providers, routes, plugin configuration, styles, and localization to match the selected APIs. Remove obsolete usage and dependencies when no longer needed.
  10. Use idiomatic framework patterns and the existing design system. Keep server-only code and secrets out of client components. Preserve authentication behavior and access controls.
  11. Run the applicable formatting, lint, type, build, and behavior checks. Add targeted tests for changed behavior when practical.
  12. Summarize the versions used, files added, changed, renamed, or deleted, usage migrations, preserved customizations, and checks. Report any unresolved conflicts or checks you could not run.

Page: https://better-auth-ui.com/docs
Documentation index: https://better-auth-ui.com/llms.txt
Migration guides: https://better-auth-ui.com/docs/migrations
Release notes: https://github.com/better-auth-ui/better-auth-ui/releases/tag/v1.7.34
Upstream source: https://github.com/better-auth-ui/better-auth-ui/tree/v1.7.34
Use the target release's source and package exports as the API authority. Live documentation can describe a different version.

v1.7.33

1.7.33 (2026-11-03)

... (truncated)

Commits
  • 2b028ec chore(release): publish 1.7.34
  • 741a196 chore(release): publish 1.7.33
  • 9e5f5eb feat(react-native): align the TanStack stack with web targets
  • 02a01e7 fix(auth): keep sign-in errors inline and preserve credentials
  • 25c6b5e chore(release): publish 1.7.32
  • 507277c fix(auth): honor plugin options across recovery flows
  • 40da586 chore(release): publish 1.7.31
  • 4eb6636 fix(auth): preserve Better Auth server error messages (#580)
  • f20a68c chore(release): publish 1.7.30
  • See full diff in compare view

Updates @better-auth-ui/react from 1.7.29 to 1.7.34

Release notes

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

v1.7.34

1.7.34 (2026-11-11)

🚀 Features

  • docs: add copyable agent integration and upgrade prompts (4719ae0)
  • shadcn: add React Aria support (#592)

🩹 Fixes

  • auth: handle potentially undefined form and sorting values (#593)
  • auth: preserve admin inspector profile values (#594)

❤️ Thank You

Update with your coding agent

Copy this prompt into your coding agent to apply this release to your codebase.

Update this codebase's existing Better Auth UI integration to version 1.7.34. Apply the changes in the codebase, including usage migrations.
  1. Read the repository instructions and inspect the codebase before editing. Use its package manager, framework, router, UI library, and conventions.
  2. Identify installed Better Auth UI and Better Auth versions, providers, plugins, and any copied registry components. Preserve unrelated work and application customizations.
  3. Detect the existing stack. Support React with shadcn/ui or HeroUI, SolidJS with Zaidan, or React Native as appropriate. Keep the current stack.
  4. Resolve version 1.7.34 and read its release notes and migration guides. Compare the installed version and copied source baseline with that release, including intermediate breaking changes. Do not assume main or the live registry matches the target release.
  5. For copied shadcn/ui or Zaidan components, inspect the registry manifest and its dependency files. Match upstream files to local paths and aliases.
  6. Compare old upstream, local, and target upstream source. Apply upstream differences as patches while preserving intentional local changes. If the original baseline is unknown, explain the uncertainty and compare files individually.
  7. Add new required files, patch changed files, and migrate renamed files and their imports. Delete a copied file only when upstream removed it, its remaining usages are migrated, and it contains no needed application code. Do not delete shared primitives or unrelated files.
  8. For packaged components such as HeroUI, update package dependencies and application usage instead of copying package internals. Keep related Better Auth UI packages compatible.
  9. Update imports, props, hooks, providers, routes, plugin configuration, styles, and localization to match the selected APIs. Remove obsolete usage and dependencies when no longer needed.
  10. Use idiomatic framework patterns and the existing design system. Keep server-only code and secrets out of client components. Preserve authentication behavior and access controls.
  11. Run the applicable formatting, lint, type, build, and behavior checks. Add targeted tests for changed behavior when practical.
  12. Summarize the versions used, files added, changed, renamed, or deleted, usage migrations, preserved customizations, and checks. Report any unresolved conflicts or checks you could not run.

Page: https://better-auth-ui.com/docs
Documentation index: https://better-auth-ui.com/llms.txt
Migration guides: https://better-auth-ui.com/docs/migrations
Release notes: https://github.com/better-auth-ui/better-auth-ui/releases/tag/v1.7.34
Upstream source: https://github.com/better-auth-ui/better-auth-ui/tree/v1.7.34
Use the target release's source and package exports as the API authority. Live documentation can describe a different version.

v1.7.33

1.7.33 (2026-11-03)

... (truncated)

Commits
  • 2b028ec chore(release): publish 1.7.34
  • 741a196 chore(release): publish 1.7.33
  • 9e5f5eb feat(react-native): align the TanStack stack with web targets
  • 02a01e7 fix(auth): keep sign-in errors inline and preserve credentials
  • 25c6b5e chore(release): publish 1.7.32
  • 507277c fix(auth): honor plugin options across recovery flows
  • 40da586 chore(release): publish 1.7.31
  • f20a68c chore(release): publish 1.7.30
  • See full diff in compare view

Updates @better-auth/api-key from 1.7.7 to 1.7.28

Release notes

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

v1.7.28

better-auth

Bug Fixes

  • Fixed /device/code returning a 500 on a user or device code collision with the Drizzle adapter by retrying with a new code (#12853)
  • Fixed concurrent email OTP requests for the same address so both emails carry the same valid code on databases with a unique verification.identifier (#12893)
  • Fixed sending a new email OTP to replace the earlier code for that address so stale codes no longer cause refusals (#12893)
  • Fixed sending a new phone number OTP to replace the earlier code so a code sent during a check stays valid (#12893)
  • Fixed verifying an unregistered phone number without signUpOnVerification to return a 400 PHONE_NUMBER_NOT_EXIST error instead of a 500 (#12893)
  • Fixed user deletion to report success only when the user is actually deleted, returning FAILED_TO_DELETE_USER when a hook vetoes or the database skips the delete (#12858)
  • Fixed /revoke-session and /admin/revoke-user-session to stop reporting success when the session survives the revocation (#12858)
  • Fixed revoking all of a user's sessions to fail when secondaryStorage cannot clear the cached sessions, instead of reporting success (#12858)
  • Fixed getSession failing when a session cached in secondaryStorage is missing its user, by reading the user from the database (#12858)
  • Fixed revoked sessions staying valid in secondary storage when a database after hook throws during password reset or user deletion (#12806)
  • Fixed generateBackupCodes to read fresh user state so sessions cached before two-factor enrollment can generate codes and revoked sessions are rejected (#12907)
  • Fixed /update-user with the username plugin rejecting your own username as already taken when called with a bearer token (#12860)

For detailed changes, see CHANGELOG

@better-auth/oauth-provider

Bug Fixes

  • Fixed Client ID Metadata Document registration treating a failed insert as a registration race when wrapped error query parameters contain words like "duplicate", and now returning the original database error (#12853)
  • Fixed the OAuth provider WWW-Authenticate: Basic challenge to include the realm parameter required by RFC 7617 (#12789)
  • Fixed client IDs containing characters not allowed by RFC 6749 causing a 500 on PostgreSQL, now returning an invalid_client response (#12854)
  • Fixed requesting an OAuth device code without a resource failing with a 500 on Prisma with PostgreSQL, CockroachDB, or MongoDB (#12854)
  • Fixed oauthProviderClient requests without a body failing with a 415 error on pages with a signed OAuth query (#12863)
  • Fixed client assertion verification to use the most recently cached key set when overlapping JWKS refreshes finish out of order (#12850)

For detailed changes, see CHANGELOG

@better-auth/core

Bug Fixes

  • Fixed user deletion to report success only when the user is actually deleted, returning FAILED_TO_DELETE_USER when a hook vetoes or the database skips the delete (#12858)
  • Fixed revoking all of a user's sessions to fail when secondaryStorage cannot clear the cached sessions, instead of reporting success (#12858)
  • Fixed the Drizzle schema check being dropped when a project resolves two copies of @better-auth/core (#12905)
  • Fixed after-commit hooks queued with onError not running when an earlier queued hook throws (#12806)
  • Fixed a timed-out JWKS refresh blocking a refresh against a newer cached key set (#12850)

For detailed changes, see CHANGELOG

auth

Bug Fixes

  • Improved auth info to redact more secret variants, including snake_case, kebab-case, uppercase, plural names, private key passphrases, and nested values (#12896)

... (truncated)

Changelog

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

1.7.28

Patch Changes

  • #12909 6aebc1d Thanks @​gustavovalverde! - On Cloudflare Workers, a write to an API key reference list in secondary storage no longer hangs when an earlier request for the same reference ID ended without releasing its lock. A writer now stops waiting five seconds after it reaches the front of the queue and proceeds. If the earlier writer was only slow, the two writes can overlap and one update to the list can be lost.

1.7.27

1.7.26

1.7.25

1.7.24

Patch Changes

1.7.23

1.7.22

1.7.21

Patch Changes

  • #12404 9b40ac6 Thanks @​bytaesu! - Plugin packages no longer import from the better-auth root, so bundlers that split code stop emitting unused Kysely chunks when used with better-auth/minimal.

1.7.20

1.7.19

1.7.18

1.7.17

1.7.16

1.7.15

Patch Changes

  • #12107 9ce8b2c Thanks @​bytaesu! - API keys stored in secondary storage now verify, load, and list correctly when the storage client returns already-parsed JSON objects, such as @upstash/redis.

1.7.14

1.7.13

1.7.12

... (truncated)

Commits

Updates @better-auth/oauth-provider from 1.7.7 to 1.7.28

Release notes

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

v1.7.28

better-auth

Bug Fixes

  • Fixed /device/code returning a 500 on a user or device code collision with the Drizzle adapter by retrying with a new code (#12853)
  • Fixed concurrent email OTP requests for the same address so both emails carry the same valid code on databases with a unique verification.identifier (#12893)
  • Fixed sending a new email OTP to replace the earlier code for that address so stale codes no longer cause refusals (#12893)
  • Fixed sending a new phone number OTP to replace the earlier code so a code sent during a check stays valid (#12893)
  • Fixed verifying an unregistered phone number without signUpOnVerification to return a 400 PHONE_NUMBER_NOT_EXIST error instead of a 500 (#12893)
  • Fixed user deletion to report success only when the user is actually deleted, returning FAILED_TO_DELETE_USER when a hook vetoes or the database skips the delete (#12858)
  • Fixed /revoke-session and /admin/revoke-user-session to stop reporting success when the session survives the revocation (#12858)
  • Fixed revoking all of a user's sessions to fail when secondaryStorage cannot clear the cached sessions, instead of reporting success (#12858)
  • Fixed getSession failing when a session cached in secondaryStorage is missing its user, by reading the user from the database (#12858)
  • Fixed revoked sessions staying valid in secondary storage when a database after hook throws during password reset or user deletion (#12806)
  • Fixed generateBackupCodes to read fresh user state so sessions cached before two-factor enrollment can generate codes and revoked sessions are rejected (#12907)
  • Fixed /update-user with the username plugin rejecting your own username as already taken when called with a bearer token (#12860)

For detailed changes, see CHANGELOG

@better-auth/oauth-provider

Bug Fixes

  • Fixed Client ID Metadata Document registration treating a failed insert as a registration race when wrapped error query parameters contain words like "duplicate", and now returning the original database error (#12853)
  • Fixed the OAuth provider WWW-Authenticate: Basic challenge to include the realm parameter required by RFC 7617 (#12789)
  • Fixed client IDs containing characters not allowed by RFC 6749 causing a 500 on PostgreSQL, now returning an invalid_client response (#12854)
  • Fixed requesting an OAuth device code without a resource failing with a 500 on Prisma with PostgreSQL, CockroachDB, or MongoDB (#12854)
  • Fixed oauthProviderClient requests without a body failing with a 415 error on pages with a signed OAuth query (#12863)
  • Fixed client assertion verification to use the most recently cached key set when overlapping JWKS refreshes finish out of order (#12850)

For detailed changes, see CHANGELOG

@better-auth/core

Bug Fixes

  • Fixed user deletion to report success only when the user is actually deleted, returning FAILED_TO_DELETE_USER when a hook vetoes or the database skips the delete (#12858)
  • Fixed revoking all of a user's sessions to fail when secondaryStorage cannot clear the cached sessions, instead of reporting success (#12858)
  • Fixed the Drizzle schema check being dropped when a project resolves two copies of @better-auth/core (#12905)
  • Fixed after-commit hooks queued with onError not running when an earlier queued hook throws (#12806)
  • Fixed a timed-out JWKS refresh blocking a refresh against a newer cached key set (#12850)

For detailed changes, see CHANGELOG

auth

Bug Fixes

  • Improved auth info to redact more secret variants, including snake_case, kebab-case, uppercase, plural names, private key passphrases, and nested values (#12896)

... (truncated)

Changelog

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

1.7.28

Patch Changes

  • #12789 f62411e Thanks @​gustavovalverde! - The WWW-Authenticate: Basic challenge on a failed client authentication now includes the realm parameter that RFC 7617 §2 requires. Paths that sent a bare Basic now send Basic realm="oauth". Challenges for other schemes are unchanged.

  • #12853 2ba7622 Thanks @​bytaesu! - Fix Client ID Metadata Document registration treating a failed insert as a registration race when the query parameters in the wrapped error message contain words such as "duplicate". The original database error is now returned.

  • #12850 ddec4d7 Thanks @​gustavovalverde! - Client assertion verification now uses the most recently cached key set when overlapping JWKS refreshes finish out of order.

  • #12863 dd557b6 Thanks @​bytaesu! - Fix oauthProviderClient requests without a body failing with a 415 error on pages with a signed OAuth query. The oauth_query body it adds is now sent as application/json.

  • #12854 c870302 Thanks @​bytaesu! - A client ID with characters outside the range RFC 6749 allows, such as NUL, now gets the same invalid_client response as any unknown client, instead of a 500 on PostgreSQL.

  • #12854 c870302 Thanks @​bytaesu! - Requesting an OAuth device code without a resource no longer fails with a 500 on Prisma with PostgreSQL, CockroachDB or MongoDB, which cannot store null in a list column.

1.7.27

Patch Changes

  • #12819 89e01c8 Thanks @​gustavovalverde! - A Client ID Metadata Document or jwks_uri response that is refused before its body is read, such as an error status or a non-JSON content type, now releases its connection right away. Previously the connection stayed open for as long as the server kept sending the body.

  • #12823 2a11b26 Thanks @​gustavovalverde! - Add the isCrossOriginJwksUriAllowed option to cimd() so you can accept a Client ID Metadata Document client whose jwks_uri is on a different origin than its client_id, without adding that origin to trustedOrigins. Such a jwks_uri is still rejected by default, and the option is consulted only for that case: at registration, when the document is refreshed, when an administrator updates the client, and before each client assertion.

  • #12821 0706b66 Thanks @​gustavovalverde! - A signing key or post-logout redirect URI that a client removes from its Client ID Metadata Document now stops working at the next refresh. Previously, a refresh kept the stored value of any field the document no longer listed, so a removed inline jwks key could still authenticate the client and a removed post_logout_redirect_uris entry was still accepted. The client's name, URIs, contacts, keys, software identifiers, and dpop_bound_access_tokens are now cleared the same way, as are its response_types once the document drops the authorization_code grant, while a stored subject_type is kept when the document omits it.

  • #12820 9f4dece Thanks @​gustavovalverde! - Fix concurrent first requests from the same Client ID Metadata Document client failing with a server error when the database layer wraps the unique-constraint error in error.cause. The losing request now reuses the client the other request registered, as it already did for unwrapped errors, and unique-violation codes from more database drivers are recognized.

  • #12671 260b869 Thanks @​gustavovalverde! - /oauth2/introspect now returns the client ID as the sub of a JWT client_credentials access token issued to a client with subject_type: "pairwise". Before, it returned a pairwise hash of the client ID, which matched neither the token's own sub nor client_id. For a pairwise client registered without redirect_uris, introspecting such a token no longer fails with a 500.

  • #12726 ca5f6b4 Thanks @​gustavovalverde! - oauthProviderClient now adds oauth_query to form-encoded bodies as a form field, including bodies whose content type carries a charset, and leaves JSON bodies that are not objects, such as arrays, as written. Previously, a form body sent from a page with a signed OAuth query was re-sent as JSON under a form content type, and an array body was turned into an object.

  • #12726 ca5f6b4 Thanks @​gustavovalverde! - oauthProviderClient no longer rewrites request bodies on pages whose query string is not a signed OAuth query, so ISO timestamp strings, form bodies, and top-level arrays are sent as written.

  • #12817 b89c0d2 Thanks @​gustavovalverde! - Fixed back-channel logout, jwks_uri client authentication, and Client ID Metadata Document fetches failing on Cloudflare Workers, which rejects redirect: "error". Redirects from these endpoints are still refused. With a fetch-based transport, a redirecting metadata URL now reports Metadata document fetch returned HTTP 30x instead of Failed to fetch metadata document (network error or redirect blocked); the error code and status are unchanged.

  • #12713 0c6305e Thanks @​gustavovalverde! - The end-session endpoint now accepts an ID token the provider issued as id_token_hint when baseURL has a path and ends with a slash, or when jwt.issuer ends with a slash. These ID tokens carry the issuer as configured, while the hint check compared it with the published issuer, which drops the trailing slash, so logout answered invalid_token or asked for confirmation. The issuer in discovery and in issued tokens is unchanged.

  • #12721 7db8d0b Thanks @​gustavovalverde! - A private_key_jwt client that keeps authenticating now keeps its cached jwks_uri key set when more than 500 clients' key sets are cached. Previously the key set stored first was evicted first even while in use, so that client's next assertion fetched its jwks_uri again and failed if the jwks_uri was unreachable.

  • #12721 7db8d0b Thanks @​gustavovalverde! - Concurrent private_key_jwt assertions for one jwks_uri now share a single fetch of the client's key set. Previously each assertion that needed the key set, including each one naming a key missing from the cached set, made its own request to the client's jwks_uri.

  • #12824 32b8b6e Thanks @​gustavovalverde! - A client discovery can now set jwksStaleIfError to extend the existing ten-minute fallback for cached jwks_uri keys when a refetch fails transiently. The configured limit is measured from the last successful fetch, up to 24 hours. Shorter values leave the existing fallback in place. An administrator's edit of a discovered client no longer changes its updatedAt, which records when its metadata was last validated.

  • #12729 3a7e13c Thanks @​gustavovalverde! - Added the requireOpenId option to oauthProvider. When it is true, a request to /oauth2/authorize that leaves out the openid scope, or sends no scope, is redirected to the client's validated redirect_uri with invalid_scope, so the provider serves only OpenID Connect requests there. The option does not apply to device authorization requests. It defaults to false, which keeps the current behavior, and openid must be in scopes.

  • #12733 70a7143 Thanks @​gustavovalverde! - Add a resourceSeedScope option so apps that build Better Auth on every request stop reading oauthResource before each request. Set it to "process" to remember finished resources seeds for the life of the process instead of per database adapter. The default, "adapter", is unchanged. Use "process" only when every instance in the process uses the same database.

  • #12728 929e29f Thanks @​gustavovalverde! - Fix the signed OAuth query failing with invalid_signature when a proxy, router, or login page URL-decodes the query once. The check now accepts a sig whose + characters became spaces, and a sig written in the base64url alphabet. Signing is unchanged.

... (truncated)

Commits
  • c70565a chore: release v1.7.28 (#12856)
  • f62411e fix(oauth-provider): add a realm to the Basic challenge (#12789)
  • 049add6 docs: clarify OAuth discovery and MySQL upgrade behavior (#12849)
  • ddec4d7 fix(oauth): preserve newer results across overlapping refreshes (#12850)
  • dd557b6 fix(oauth-provider): send the oauth_query body of bodyless requests as JSON (...
  • 2ba7622 fix: detect unique violations wrapped in an error cause (#12853)
  • c870302 fix(oauth-provider): answer invalid client IDs and resource-less device codes...
  • 9faf6f6 chore: release v1.7.27 (#12811)
  • 50f7240 fix(oauth-provider): resume the authorization after an OIDC SSO sign-in (#12727)
  • 3a7e13c feat(oauth-provider): add requireOpenId to require openid on authorize (#12729)
  • Additional commits viewable in compare view

Updates better-auth from 1.7.7 to 1.7.28

Release notes

Sourced from better-auth's releases.

v1.7.28

better-auth

Bug Fixes

  • Fixed /device/code returning a 500 on a user or device code collision with the Drizzle adapter by retrying with a new code (#12853)
  • Fixed concurrent email OTP requests for the same address so both emails carry the same valid code on databases with a unique verification.identifier (#12893)
  • Fixed sending a new email OTP to replace the earlier code for that address so stale codes no longer cause refusals (#12893)
  • Fixed sending a new phone number OTP to replace the earlier code so a code sent during a check stays valid (#12893)
  • Fixed verifying an unregistered phone number without signUpOnVerification to return a 400 PHONE_NUMBER_NOT_EXIST error instead of a 500 (#12893)
  • Fixed user deletion to report success only when the user is actually deleted, returning FAILED_TO_DELETE_USER when a hook vetoes or the database skips the delete (#12858)
  • Fixed /revoke-session and /admin/revoke-user-session to stop reporting success when the session survives the revocation (#12858)
  • Fixed revoking all of a user's sessions to fail when secondaryStorage cannot clear the cached sessions, instead of reporting success (#12858)
  • Fixed getSession failing when a session cached in secondaryStorage is missing its user, by reading the user from the database (#12858)
  • Fixed revoked sessions staying valid in secondary storage when a database after hook throws during password reset or user deletion (#12806)
  • Fixed generateBackupCodes to read fresh user state so sessions cached before two-factor enrollment can generate codes and revoked sessions are rejected (#12907)
  • Fixed /update-user with the username plugin rejecting your own username as already taken when called with a bearer token (#12860)

For detailed changes, see CHANGELOG

@better-auth/oauth-provider

Bug Fixes

  • Fixed Client ID Metadata Document registration treating a failed insert as a registration race when wrapped error query parameters contain words like "duplicate", and now returning the original database error (#12853)
  • Fixed the OAuth provider WWW-Authenticate: Basic challenge to include the realm parameter required by RFC 7617 (#12789)
  • Fixed client IDs containing characters not allowed by RFC 6749 causing a 500 on PostgreSQL, now returning an invalid_client response (#12854)
  • Fixed requesting an OAuth device code without a resource failing with a 500 on Prisma with PostgreSQL, CockroachDB, or MongoDB (#12854)
  • Fixed oauthProviderClient requests without a body failing with a 415 error on pages with a signed OAuth query (#12863)
  • Fixed client assertion verification to use the most recently cached key set when overlapping JWKS refreshes finish out of order (#12850)

For detailed changes, see CHANGELOG

@better-auth/core

Bug Fixes

  • Fixed user deletion to report success only when the user is actually deleted, returning FAILED_TO_DELETE_USER when a hook vetoes or the database skips the delete (#12858)
  • Fixed revoking all of a user's sessions to fail when secondaryStorage cannot clear the cached sessions, instead of reporting success (#12858)
  • Fixed the Drizzle schema check being dropped when a project resolves two copies of @better-auth/core (#12905)
  • Fixed after-commit hooks queued with onError not running when an earlier queued hook throws (#12806)
  • Fixed a timed-out JWKS refresh blocking a refresh against a newer cached key set (#12850)

For detailed changes, see CHANGELOG

auth

Bug Fixes

  • Improved auth info to redact more secret variants, including snake_case, kebab-case, uppercase, plural names, private key passphrases, and nested values (#12896)

... (truncated)

Changelog

Sourced from better-auth's changelog.

1.7.28

Patch Changes

  • #12806 47a77c0 Thanks @​bytaesu! - Revoked sessions are now removed from secondary storage even when a database after hook throws during password reset or user deletion. Before, they could stay valid until they expired.

  • #12858 7e229f0 Thanks @​bytaesu! - Deleting a user no longer reports success when a database read fails, a user.delete.before hook vetoes the delete, or the database skips it without an error. A failed read now surfaces as an error. A veto or a skipped delete answers FAILED_TO_DELETE_USER and keeps the user's sessions and accounts, on databases with transactions for a skipped delete. user.delete.before now runs before the session and account deletes.

  • #12853 2ba7622 Thanks @​bytaesu! - Fix /device/code returning a 500 on a user or device code collision with the Drizzle adapter. The collision is now retried with a new code, as with the other adapters.

  • #12893 a3a9d2d Thanks @​bytaesu! - When two email OTP requests for the same address collide on a database with a unique verification.identifier, both emails now carry the same code when it can be read back. Before, the code in one of the emails was rejected as invalid.

  • #12893 a3a9d2d Thanks @​bytaesu! - Sending a new email OTP now replaces the earlier code for that address instead of keeping it. Before, a code resent after a wrong guess, or in the same millisecond as another send, could be refused while the earlier code still worked.

  • #12893 a3a9d2d Thanks @​bytaesu! - Sending a new phone number OTP now replaces the earlier code for that number instead of keeping it, so a code sent while another one is being checked stays valid.

  • #12893 a3a9d2d Thanks @​bytaesu! - Verifying a phone number that no user has, without signUpOnVerification, now returns a 400 PHONE_NUMBER_NOT_EXIST error instead of a 500.

  • #12858 7e229f0 Thanks @​bytaesu! - /revoke-session and /admin/revoke-user-session no longer report success when the session survives, such as when a session.delete.before hook vetoes the delete or the database read before the delete fails.

  • #12858 7e229f0 Thanks @​bytaesu! - Revoking all of a user's sessions now fails when secondaryStorage cannot clean up the cached sessions, after the remaining delete hooks have run. Previously the call reported success, and the cached sessions could keep working until they expired.

  • #12858 7e229f0 Thanks @​bytaesu! - A session cached in secondaryStorage without its user no longer breaks getSession. The user is now read from the database, where getSession previously failed for every request until the cached session expired.

  • #12907 d079059 Thanks @​gustavovalverde! - generateBackupCodes refreshes store-backed sessions before checking whether two-factor authentication is enabled. A session cached before enrollment can now generate backup codes, and a revoked session is rejected even while its cookie is still cached.

  • #12860 3011e5c Thanks @​bytaesu! - The username plugin now checks usernames on /update-user against the session the endpoint resolved, so re-sending your own username with a bearer token no longer fails as already taken. Signed-out /update-user calls with a taken username now return 401 like other signed-out calls.

  • Updated dependencies [47a77c0,

Bumps the auth group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@better-auth-ui/core](https://github.com/better-auth-ui/better-auth-ui/tree/HEAD/packages/core) | `1.7.29` | `1.7.34` |
| [@better-auth-ui/react](https://github.com/better-auth-ui/better-auth-ui/tree/HEAD/packages/react) | `1.7.29` | `1.7.34` |
| [@better-auth/api-key](https://github.com/better-auth/better-auth/tree/HEAD/packages/api-key) | `1.7.7` | `1.7.28` |
| [@better-auth/oauth-provider](https://github.com/better-auth/better-auth/tree/HEAD/packages/oauth-provider) | `1.7.7` | `1.7.28` |
| [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) | `1.7.7` | `1.7.28` |



Updates `@better-auth-ui/core` from 1.7.29 to 1.7.34
- [Release notes](https://github.com/better-auth-ui/better-auth-ui/releases)
- [Commits](https://github.com/better-auth-ui/better-auth-ui/commits/v1.7.34/packages/core)

Updates `@better-auth-ui/react` from 1.7.29 to 1.7.34
- [Release notes](https://github.com/better-auth-ui/better-auth-ui/releases)
- [Commits](https://github.com/better-auth-ui/better-auth-ui/commits/v1.7.34/packages/react)

Updates `@better-auth/api-key` from 1.7.7 to 1.7.28
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/api-key/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.7.28/packages/api-key)

Updates `@better-auth/oauth-provider` from 1.7.7 to 1.7.28
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/oauth-provider/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.7.28/packages/oauth-provider)

Updates `better-auth` from 1.7.7 to 1.7.28
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/better-auth/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.7.28/packages/better-auth)

---
updated-dependencies:
- dependency-name: "@better-auth-ui/core"
  dependency-version: 1.7.34
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: auth
- dependency-name: "@better-auth-ui/react"
  dependency-version: 1.7.34
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: auth
- dependency-name: "@better-auth/api-key"
  dependency-version: 1.7.28
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: auth
- dependency-name: "@better-auth/oauth-provider"
  dependency-version: 1.7.28
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: auth
- dependency-name: better-auth
  dependency-version: 1.7.28
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: auth
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from rifont as a code owner November 30, 2026 09:22
@dependabot dependabot Bot added automated Automatically created pull requests dependencies Dependencies updated labels Nov 30, 2026
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ded8134e-0173-40e1-aa1d-d151895ecd75

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automatically created pull requests dependencies Dependencies updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants