I have a react-js front end app, currently I am using self-signed certificate to enable secured websocket connection to connect to hivemq edge broker.
I want to use JWT token to connect with hivemq-edge broker. Could you please guide me to correct configurations?
another question I have is- how to add username and password to the config.xml file of hivemq-edge to enable basic authentication. so that whenever react.js app tries to connect with the broker it should provide username and password.
For React.js, you may consider using a third-party MQTT JavaScript client. You can find an example in your HiveMQ Cloud Console https://console.hivemq.cloud in the Getting Started top-bar right menu:
To enable Role-Based Access Control (RBAC) in HiveMQ Edge, you need to install a security extension. HiveMQ provides an open-source security extension called the File RBAC Extension, which you can find here: File RBAC Extension Documentation.
Hi @Daria_H, Apologies for late response, I was under impression that RBAC is for setting username and password for UI which is running on port 8080.
but this cleared the misunderstanding.
I will try to set the username and password using given steps and check If I can access the broker.