mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 23:53:17 -05:00
TikTok returns `open_id`, `union_id`, `display_name`, and `avatar_large_url` only under `user.info.basic`, while `username` belongs to `user.info.profile`. Sign-in requested the profile scope alone and read fields from both, which held together only because the identity subject was not load-bearing. It is now. Updating a session or a user profile reissued the session cookie through the new-sign-in path, which clears the provider account binding. Same-user refreshes keep their binding, as the password-change path already does.
Better Auth Core
Core utilities and types for Better Auth — the most comprehensive authentication framework for TypeScript.
Installation
npm install @better-auth/core
Documentation
For full documentation, visit better-auth.com.
License
MIT