This was very helpful, thanks! At least for a first pass, I will try the JWT tokens issued by Auth0 and passed to a HiveMQ “Starter Plan” broker. Still figuring out the details, such as the web app for requesting a token (perhaps a Streamlit Web App in Hugging Face Spaces [2] or a Flask App in PythonAnywhere), since it seems like I can’t host that natively in Auth0.
See also a somewhat lengthy ChatGPT transcript.
Aside: By switching to JWT for the broker, it disables the typical username/password authentication I’ve been used to with HiveMQ.
cc @kenzo
EDIT: abandoning this approach in favor of something simpler