Better Auth v1.7.23
This release fixes OAuth/MCP authentication behavior, including JWKS retrieval, DPoP scope challenges, cross-origin visibility of authentication challenges, and authorization-code handling when validation fails. It also resolves bugs affecting Electron sign-in callbacks, database adapters, and parallel MongoDB tests; no security vulnerability or CVE is identified in the notes.
Applications using MCP authentication, custom CORS exposure, or DPoP in multi-instance/serverless deployments may need configuration changes; users of the listed adapters and Electron integration receive bug fixes.
Apply the release's three MCP/CORS/DPoP configuration steps if they match your deployment, and upgrade to receive the fixes.
- 01Set `jwksUrl` if `requireMcpAuth` needs to fetch signing keys over HTTP.
- 02If your CORS layer sets `Access-Control-Expose-Headers`, add `WWW-Authenticate` so browser clients can read authentication challenges.
- 03For `createMcpProtectedRequestHandler` in multi-instance or serverless deployments, configure `dpop.replayStore` with a shared store, such as `createDpopReplayStore(internalAdapter)`.
# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.