Refreshing a JWT Authentication requires sending an auth packet but no method exists #1794
-
I'm using JWT Token authentication sucessfully by setting the mqtt client properties before connecting:
I need to be able to re-authenticate with the service when the token needs to be refreshed by sending an auth packet:
However, I don't see a way to send a specific packet. I'm following an example that uses MQTTnet to provide this functionality (see SendExtendedAuthenticationExchangeDataAsync): Is there a method or standard pattern in mqtt.js for doing this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We don't have a method for that, I have created an issue as reminder: #1795 |
Beta Was this translation helpful? Give feedback.
We don't have a method for that, I have created an issue as reminder: #1795