MQTT security with JWT

Hey, 

With the current mqtt_client library, you can secure your data with an x509 certificate. Is there a way to use a JWT token for authentication?( I have seen that the JWT is already implemented for the nRF CLoud API calls.) There are also quite a few MQTT brokers that support JWT authentication. 

https://www.emqx.io/mqtt-security 

https://www.hivemq.com/blog/mqtt-security-fundamentals-oauth-2-0-mqtt/ 

Thanks!

Parents Reply Children
No Data
Related