[!IMPORTANT]
Action required
OAuth profile types for Apple, Cognito, Discord, Dropbox, Facebook, GitHub, GitLab, Gumroad, Linear, Microsoft Entra ID, Notion, Patreon, PayPal, Railway, Slack, and Twitter(X) were reviewed against each provider's official resources and updated to match. If you use custom profile mappings or profile types for any of them, review the changes below and handle fields that are now optional, nullable, or retyped.
better-auth
❗ Breaking Changes
- Fixed the Gumroad OAuth helper to return
undefined for accounts without a name, matching its declared profile type (#11864)
- Fixed the Patreon OAuth helper to normalize null names and images to missing values while preserving empty strings, and to allow email to be null or omitted when email access is not granted (#11863)
- Fixed Slack sign-in to support scoped profiles with optional
SlackProfile email and profile claims, use POST for userinfo in the built-in provider and Generic OAuth helper, and reject Slack errors returned with HTTP 200 (#11851)
For detailed changes, see CHANGELOG
@better-auth/core
❗ Breaking Changes …