Closed rossendbruchseidor closed 1 year ago
Configured with http and auth and sa works fine but can't manage to work with acl. Here is my conf:
auth_plugin /mosquitto/go-auth.so auth_opt_backends http auth_opt_http_getuser_uri /MQTT/auth auth_opt_http_superuser_uri /MQTT/sa auth_opt_http_aclcheck_uri /MQTT/acl auth_opt_http_host host.docker.internal auth_opt_http_port 7055 auth_opt_http_method POST auth_opt_http_with_tls true
acl endpoint is not called. does I miss something?
Besides the host that I guess you're just redacting, it looks fine. I'd need some logs to tell more.
Ok, ACL json parameter acc must be integer. It works ok.
Configured with http and auth and sa works fine but can't manage to work with acl. Here is my conf:
auth_plugin /mosquitto/go-auth.so auth_opt_backends http auth_opt_http_getuser_uri /MQTT/auth auth_opt_http_superuser_uri /MQTT/sa auth_opt_http_aclcheck_uri /MQTT/acl auth_opt_http_host host.docker.internal auth_opt_http_port 7055 auth_opt_http_method POST auth_opt_http_with_tls true
acl endpoint is not called. does I miss something?