Proper usage of bot instance

What is correct usage of the bot in situation when it integrated with web application with only one bot configuration (Configuration is set of clientId, secret, bot id, etc - from kore-config.js).

This host app with embedded bot is used by different users.

Problem is that all chat of one user is visible on instance of another user, on different computer.

Hi @vitaliy.markitanov1,

I believe you must have hard coded ‘botOptions.userIdentity’ in kore-config.js file.
If this happens to be a randomly generated user id for every request, then the above issue will not have been witnessed.

Regards,
Karthik

Well not sure abt userId, as if it doesn’t match value from dev portal then bot doesn’t connect with error, but AUD claim helped.