Important
Action required
-
If your Zoom profile mappings use exhaustive login-type checks, update them to handle the login types
11,21, and23. (#11850) -
fix(vk)!: correct profile phone number type (#11849)
VK profile callbacks now accept phone numbers as strings. Profile mappings must treat
user.phoneas a string instead of a number. -
If you use Naver profile mappings, update them to handle omitted personal fields and supply an email when Naver does not share one. (#11858)
-
If you use Kakao profile mappings, update them to handle a missing
kakao_account. (#11857) -
If you use Roblox profile mappings, update them to handle optional scoped fields, a
nullpicture, andunknowncustom claims. (#11866) -
fix(linkedin)!: correct profile locale type (#11844)
LinkedIn profile callbacks now accept locale language tags such as
en-US. Profile mappings must readlocaleas a string instead of a country/language object. -
If your Google profile mappings rely on ID token claims such as email verification, update them to handle claims that are now optional. (#11847)
-
fix(huggingface)!: align organization profile types (#11845)
Hugging Face profile mappings must iterate over organization arrays and can read optional plan and security restrictions. Organization roles are strings; use
securityRestrictionsinstead of the deprecated SSO and MFA flags. -
If you use
mapProfileToUserwith Polar, update it to read the scoped, nullable userinfo claims instead of the previous user profile fields. (#11840) -
If you use custom Kick profile mappings or
getUserInfocallbacks, update them to treatKickProfile.user_idas a number instead of a string. (#11841)
@better-auth/core
❗ Breaking Changes
- Fixed
GoogleProfileto reflect Google's optional ID token claims and to treat an absent email verification claim as unverified (#11847) - fix(huggingface)!: align organization profile types (#11845)
- Fixed Kakao profiles to make
KakaoProfile.kakao_accountoptional and to separate consent scopes with commas in authorization requests, as Kakao documents (#11857) - Fixed
KickProfile.user_idto be a number instead of a string (#11841) - fix(linkedin)!: correct profile locale type (#11844)
- Fixed
NaverProfile.responseto make personal profile fields optional, matching what Naver may omit (#11858) - Fixed Polar accounts to be identified by their userinfo subject and exposed the scoped, nullable userinfo claims in
mapProfileToUserinstead of unrelated user profile fields (#11840) - Fixed Roblox userinfo types so scoped
RobloxProfilefields are optional,picturecan benull, and custom claims areunknown, and preserved stored images when a Roblox avatar is missing and profile updates are enabled (#11866) - fix(vk)!: correct profile phone number type (#11849)
- Fixed Zoom profile types to include the phone number, WeChat, and Alipay login types (
11,21, and23) (#11850)
For detailed changes, see CHANGELOG
@better-auth/oauth-provider
Features
- feat(oauth-provider): give consentReferenceId the request and the user's choice (#11967)
For detailed changes, see CHANGELOG
Contributors
Thanks to everyone who contributed to this release:
Full changelog: v1.8.0-beta.1...v1.8.0-beta.2