Better Auth v1.8.0-beta.4
This prerelease changes Paybin and Twitch to fetch current user profile data through their OAuth endpoints using access tokens, rather than relying on stored ID-token claims. Spotify profile fields were also updated to match its current user profile, requiring mappings to account for nullable or omitted fields.
Integrations using Paybin, Twitch, or Spotify profile mappings are affected, especially custom Paybin or Twitch ID-token sign-ins that use the default profile reader.
Review affected provider profile mappings and add `idToken.accessToken` to custom Paybin and Twitch ID-token sign-ins using the default `getUserInfo`.
- 01For custom Twitch and Paybin ID-token sign-ins using the default `getUserInfo`, include `idToken.accessToken`; standard redirect-based sign-in requires no changes.
- 02Update Paybin, Twitch, and Spotify profile mappings to handle the optional, omitted, or nullable fields described in the release notes.
# 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.