You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix clientId usage to follow LiveStore best practices
- Generate clientId using userId prefix + unique identifier instead of using userId directly
- Add userId to sync payload for proper authorization
- Update authentication pattern to separate client identification from user identification
- clientId now identifies device/app instances, userId identifies users for auth
- Update all tests and schema documentation to reflect new pattern
Fixes the issue where clientId was incorrectly set to userId, which goes against
LiveStore's design where clientId should identify unique client instances.
0 commit comments