256dpi / arduino-mqtt

MQTT library for Arduino
MIT License
1.01k stars 230 forks source link

JWT as password #296

Closed fabltd closed 10 months ago

fabltd commented 1 year ago

Hi

Is there a max password length ?

I am tryign to send a JWT in the password field but no connection attempt is made. If I reduce the password length it works.

JT

256dpi commented 1 year ago

You may need to increase the write buffer size to have enough space for the connect packet. See: https://github.com/256dpi/arduino-mqtt#notes.