-
Aryan Noshirvnai authored
Matches the backend fix: connectToRoom() now takes the access token (getAccessToken() from RoomView) instead of a client-known userId, since the server verifies it before accepting the connection rather than trusting whatever id is passed. getCurrentUserId() (api/jwt.ts) is still used for local "is this me" UI comparisons only - never sent back as a trust claim; updated its comment, which was stale since Channels' own auth fix. Roadmap updated to reflect both security gaps are now fixed. Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
eac69cde
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| auth.ts | ||
| channels.ts | ||
| client.test.ts | ||
| client.ts | ||
| discovery.ts | ||
| jwt.test.ts | ||
| jwt.ts | ||
| library.ts | ||
| music.ts | ||
| remix.ts | ||
| roomSocket.ts | ||
| social.ts | ||
| soundmarks.ts | ||
| stream.ts |