npm better-auth 1.7.0-beta.8
v1.7.0-beta.8

5 hours ago

better-auth

Bug Fixes

  • Fixed OAuth account creation to roll back the user row when account writes fail (#10125)
  • Fixed redirect URI derivation to use the per-request base URL in multi-host deployments (#10127)
  • Fixed OAuth scope preservation so previously granted scopes are not lost during re-authentication or token refresh (#10128)
  • Fixed user data preservation when overrideUserInfo returns null during account linking (#10124)

For detailed changes, see CHANGELOG

@better-auth/core

Features

  • Added includeGrantedScopes option to the Google provider to control scope accumulation across OAuth flows (#10129)

Bug Fixes

  • Fixed redirect URI derivation to use the per-request base URL in multi-host deployments (#10127)
  • Fixed OAuth scope preservation so previously granted scopes are not lost during re-authentication or token refresh (#10128)

For detailed changes, see CHANGELOG

auth

Bug Fixes

  • Reverted the granted scopes OAuth architecture (#10123)

For detailed changes, see CHANGELOG

Contributors

Thanks to everyone who contributed to this release:

@gustavovalverde

Full changelog: v1.7.0-beta.7...v1.7.0-beta.8

Don't miss a new better-auth release

NewReleases is sending notifications on new releases.