The key is to enforce authentication before a user reaches the Botpress chat, rather than relying on the Webchat Public JWT key alone. I'd recommend validating HeroSpark sessions through a backend and issuing short-lived, signed JWTs before allowing access to the Chat API. This also gives you better control over user identity and conversation separation.
One thing to clarify: are you planning to keep the native Botpress Webchat interface, or are you open to building a custom chat frontend? @dazzling-needle-66510