stream-chat: tokens can only be created server-side using the API Secret (Next.js API route)
StreamChat.getInstance is a singleton: it creates the client only on the first call in the runtime, and later calls with different parameters are ignored. If the client was first initialized anywhere without the secret value, for example in client-side code, the shared instance has no secret set and token creation thr…
Problem outcome: unknown