mosquitto-go-auth icon indicating copy to clipboard operation
mosquitto-go-auth copied to clipboard

the doc should specify which auth methods support TCP and Websocket connections

Open dberardo-com opened this issue 1 year ago • 1 comments

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 ?

dberardo-com avatar Mar 13 '24 17:03 dberardo-com

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.

iegomez avatar Mar 16 '24 23:03 iegomez