We use authentication based on a Bearer JWT token for other APIs over HTTP, using an HTTP client. To do this, we add the Bearer token in the request header.
Is it possible to set up authentication with a Bearer JWT token in mqtt-nio, instead of using a username and password?