library · inferred from evidence
stream-chat-js
A JavaScript library for Stream Chat, mentioned in the context of the issue.
- stream-chat: tokens can only be created server-side using the API Secret (Next.js API route)
In a Next.js API route (server-side code), calling `client.createToken(userId)` on a client from `StreamChat.getInstance(process.env.STREAM_KEY, process.env.STREAM_SECRET)` throws `Error: tokens can only be created server-side using the API
- Deactivated Stream Chat user still receiving messages
After deactivating a user via `deactivate_user(user_id)` (stream-chat-ruby gem, stream-chat-js 1.7.2), the deactivated user correctly fails when trying to send messages, but still receives messages and other realtime information from active