https://discord.gg/botpress logo
Botpress Viber Free Plan — JWT Authentication for ...
# 🤝help
d
Botpress Viber Free Plan — Secure Webchat Authentication Hello! I'm developing an educational AI assistant using Botpress Viber on the Free plan. The assistant will eventually be available only to authenticated students of an external course platform (HeroSpark). I have a few technical questions: 1. Can the Public JWT key in Webchat Advanced Settings enforce mandatory user authentication on the Free plan? 2. Can unauthenticated visitors be completely prevented from chatting with the bot? 3. Does the Chat API manual JWT authentication method work with Viber agents, or would it require a separate custom chat interface and backend? 4. What is the recommended approach for maintaining separate conversations for authenticated users? The assistant is not published, and we are currently testing only with fictional scenarios. We will not process real children's information until the technical and privacy requirements are validated. Any official documentation or technical guidance would be appreciated. Thank you!
a
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
s
For your Botpress educational assistant, the key distinction is between protecting access to the chatbot and authenticating users inside the chatbot. These are two different security requirements, A JWT configuration may help verify a user's identity, but you should not assume that enabling JWT automatically blocks every unauthenticated visitor.
2 Views