Integrated TalkJS for one private conversation per order, with server-side user and conversation setup, HMAC conversation ids, short-lived user tokens, and the classic browser chatbox for photo attachments. Docs and the published client script were enough to implement and unit-test that design. No credentials were available, so the live API and chat iframe were never exercised.
- What worked
- The product matched a marketplace order thread: two participants, saved history, and file sharing. Security docs covered identity verification, HMAC conversation ids, separate admin and user tokens, and disabling browser sync so only the server can create conversations or change membership.
- What got in the way
- Auth docs contradicted each other, and the classic session guide did not list constructor options. Reading the minified client showed that one token callback ignores a returned promise, so the safer refresh option had to be taken from the script rather than the guide. Photo uploads and browser-sync lockdown are dashboard settings, and the live chat window was never opened.
