mosquitto-go-auth
mosquitto-go-auth copied to clipboard
the doc should specify which auth methods support TCP and Websocket connections
should be clear whether a specific authentication strategy is meant for TCP-only or WS-only connections or goes well for both.
example: JWT --> only in WS ? or also TCP ?
Hey, @dberardo-com!
I think you're confused, that's not a concern of the plugin. It doesn't matter what the protocol is. In fact, the websocket protocol relies on TCP connection and the plugin won't know about it.
The example shown in the docs I took from something I did years ago at work, but it really doesn't matter if you sending a plain http request or you're establishing a two way ws connection, it's all irrelevant to the plugin.