Skip to content

Stop making clientIds and let LiveStore handle them#212

Merged
rgbkrk merged 1 commit intomainfrom
fix/stop-making-clientids
Sep 3, 2025
Merged

Stop making clientIds and let LiveStore handle them#212
rgbkrk merged 1 commit intomainfrom
fix/stop-making-clientids

Conversation

@rgbkrk
Copy link
Member

@rgbkrk rgbkrk commented Sep 3, 2025

Similar to anode PR #483, remove clientId generation from runt runtime agents. LiveStore will now handle clientId generation internally for device/app instances.

  • Remove clientId from RuntimeAgentOptions interface and RuntimeConfig class
  • Remove clientId from sync payload in runtime agent
  • Update auth.ts to stop generating clientIds in discoverUserIdentity()
  • Remove clientId parameter from PyodideRuntimeOptions
  • Update all tests to not pass clientId parameters
  • Remove obsolete clientId generation and validation tests

User identity is still validated via JWT tokens, but client identification is now handled entirely by LiveStore's internal mechanisms.

Similar to anode PR #483, remove clientId generation from runt runtime agents.
LiveStore will now handle clientId generation internally for device/app instances.

- Remove clientId from RuntimeAgentOptions interface and RuntimeConfig class
- Remove clientId from sync payload in runtime agent
- Update auth.ts to stop generating clientIds in discoverUserIdentity()
- Remove clientId parameter from PyodideRuntimeOptions
- Update all tests to not pass clientId parameters
- Remove obsolete clientId generation and validation tests

User identity is still validated via JWT tokens, but client identification
is now handled entirely by LiveStore's internal mechanisms.
@rgbkrk rgbkrk merged commit a0e49ab into main Sep 3, 2025
7 checks passed
@rgbkrk rgbkrk deleted the fix/stop-making-clientids branch September 3, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant