@better-auth/sso breaking changes
@better-auth/sso 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/sso on npm: 11 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.7.29, released November 28, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@better-auth/sso 1.7.27 breaking changes
- Behavior changed
jwks.keyPairConfig.alg
If no key matches jwks.keyPairConfig.alg and the newest key uses another algorithm, ID tokens and JWTs change alg and kid on the next unpinned signature. Update verifiers that hard-code the old algorithm or do not refetch the JWKS for an... github.com - Default changed
originBoundFields
client_uri is no longer origin-bound by default, so a client_uri on a different origin than client_id is accepted. Add "client_uri" to originBoundFields to keep rejecting it. github.com
@better-auth/sso 1.7.26 breaking changes
- Behavior changed
adapter.getJwks
The custom JWT plugin adapter.getJwks is now called on every verification, so add caching in your key store if reads are expensive. github.com
@better-auth/sso 1.7.23 breaking changes
- Behavior changed
If your CORS layer sets its own Access-Control-Expose-Headers, you must include WWW-Authenticate in it. github.com - Behavior changed
requireMcpAuth
Users who want requireMcpAuth to keep fetching signing keys over HTTP must now set jwksUrl. github.com - Configuration changed
createMcpProtectedRequestHandler
Deployments running createMcpProtectedRequestHandler across multiple instances or serverless functions must set dpop.replayStore to a shared store. github.com
@better-auth/sso 1.7.21 breaking changes
- Behavior changed
discoveryUrl
Discovery now fails when discoveryUrl redirects to another origin. Set discoveryUrl to the final URL. github.com - Behavior changed
sendVerificationEmail
A thrown error in sendVerificationEmail is now logged and the sign-up still succeeds. Use a databaseHooks.user.create.before hook to reject sign-ups. github.com - Behavior changed
update
The update method now changes only one row for a non-unique filter. Use updateMany if you need every matching row changed. github.com
@better-auth/sso 1.7.20 breaking changes
- Behavior changed
baseURL
Discovery and the iss parameter no longer rewrite an http issuer on a non-loopback host to https, so set baseURL to the public https URL behind a TLS-terminating proxy. github.com - Behavior changed
saml.clockSkew
NotBefore and NotOnOrAfter checks in SAML assertion validation now use the default 5-minute saml.clockSkew, so assertions that were previously accepted outside that window may now be rejected. github.com
Related packages
- better-auth
- @better-auth/oauth-provider
- @better-auth/core
- @better-auth/expo
- @better-auth/drizzle-adapter
- @better-auth/infra
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.