Fix1.7.1
Bug fixes and dependency updates
Multiple bug fixes across core authentication, SCIM provisioning, SSO integration, CIMD caching, database adapters, and OAuth provider functionality. Bundled dependencies updated to latest compatible releases with no breaking changes to existing projects.
better-auth
Bug Fixes
- Added native database transaction support to test instances for PostgreSQL and MySQL.
- Updated bundled dependencies (
jose, nanostores, noble crypto packages, SimpleWebAuthn) to their latest compatible releases, with no changes required to existing projects.
For detailed changes, see CHANGELOG
@better-auth/scim
Bug Fixes
- Fixed case-insensitive parsing of string Boolean values for SCIM User
activeand theprimarysub-attribute ofemails,phoneNumbers,addresses,roles, andentitlementsat the HTTP ingress, improving Microsoft Entra interoperability. - Added an optional SCIM-owned connection and credential catalog: configure
managedConnectionsto allow trusted server code to create runtime tenant connections and issue, rotate, and revoke bearer credentials through server-onlyauth.apimethods, without a code-defined connection or an application-owned verifier. - Fixed an issue where trusted server code could not retain a terminal connection binding before a dynamic SCIM connection's first authenticated request when supplying a provisioning domain during decommissioning.
For detailed changes, see CHANGELOG
@better-auth/sso
Bug Fixes
- Fixed SSO provider registration to allow reusing a SCIM connection ID, as SCIM connections no longer participate in the authentication provider namespace.
- Fixed SAML assertion signature verification to validate signatures on the raw assertion instead of trusting an already-parsed response, and enforced signing policy and size limits on SP metadata.
wantAssertionsSignednow correctly controls whether the SP requires signed assertions, matching real-world IdP signing behavior.
For detailed changes, see CHANGELOG
@better-auth/cimd
Bug Fixes
- Fixed Client ID Metadata Document caching to follow shared-cache freshness rules: the plugin now prefers
s-maxageovermax-ageandExpires, honorss-maxage=0, conditionally revalidates withETagorLast-Modified, and treats invalid or duplicate freshness directives as immediately stale. Concurrent refreshes now converge on a single client-resource link instead of failing on a unique constraint.
For detailed changes, see CHANGELOG
@better-auth/kysely-adapter
Bug Fixes
- Fixed native adapter transactions for raw database instances (better-sqlite3,
node:sqlite,bun:sqlite,mysql2,pg) passed directly asdatabase, matching the behavior of the explicit{ db }/{ dialect }config shapes. Plugins requiring native transactions (such as@better-auth/scim) now work correctly when using the quickstartdatabase: new Database(...)form.
For detailed changes, see CHANGELOG
@better-auth/oauth-provider
Bug Fixes
- Fixed scope error responses so MCP clients now receive a
403with an RFC 6750insufficient_scopeWWW-Authenticatechallenge naming every missing scope, allowing clients to request all needed scopes in a single authorization request.
For detailed changes, see CHANGELOG
auth
Bug Fixes
- Fixed the CLI to refuse adding required columns without default values to already-populated tables (#10863)
For detailed changes, see CHANGELOG
Contributors
Thanks to everyone who contributed to this release:
Full changelog: v1.7.0...v1.7.1
bug-fixesdatabasescimssooauthsecurity
Source: original entry ↗