Closed perbu closed 1 year ago
Hi.
I'm my quest to make the tests greener I'm currently trying to figure out how http auth plugins work. I'm looking at https://github.com/wind-c/comqtt/blob/main/plugin/auth/http/http.go#L138 and I see that comqtt no longer sends the topic to the auth server.
Is this by design? If so it would be hard to limit a user only to certain topics.
Cheers,
Per.
Got it. The http server responds with a set of filters for each users.
Hi.
I'm my quest to make the tests greener I'm currently trying to figure out how http auth plugins work. I'm looking at https://github.com/wind-c/comqtt/blob/main/plugin/auth/http/http.go#L138 and I see that comqtt no longer sends the topic to the auth server.
Is this by design? If so it would be hard to limit a user only to certain topics.
Cheers,
Per.