I need to understand how to generate jwt secret and jwt public and use them for authenticating socket io channel for webchat in my frontend. @nik202 please help out here!
@webdev-rohit why do you need that? can you share the rasa x version? and which webchat you planning for integration?
@nik202 This is my frontend code-
As you can see, it has a socketURL which is basically my Rasa X URL and everything is working fine for me since I’m able to view replies from my bot in my browser in the chat widget. But, now I want to authenticate the socket io connection and the Rasa docs say to use JWT auth method. I’ve actually figured out the way to get a JWT token. And as per Rasa docs they say to do this -
Rasa X version - 1.0.1, Rasa OS - 2.8.15
@webdev-rohit did you delete the post? I can not see your post anymore.
They took down my post @nik202 treating it as spam. They said that it’ll come back soon. However, were you able to see my explanation and query?
I just want to know how to pass the JWT token discussed in Rasa docs from the client side (frontend) to the Rasa server.
@webdev-rohit yes but was seeing and suddenly gone, but anyways confirm with me few things.
- Do you have a website?
- Do you have SSL and DNS for Rasa X IP?
Hi @nik202 my posts are now visible. Could you please provide some hints/solutions for the same?
@webdev-rohit is this issue still active at your side?
@webdev-rohit give me sometime, let me come back to you may be tomorrow.
@webdev-rohit can you share your email id and lets talk?
this issue solved Rohit?
No @nik202 , this requirement is on halt for me as of now. But, later I’ll come back to this.