Explanation needed on generation of JWT public key and jwt secret for socket.io channel

@nik202 The query asked by the person in this post is same as what I want to know. My frontend code is this -

I just want to know how to pass the JWT token discussed in Rasa docs from the client side (frontend) to the Rasa server.