Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACL does not work #272

Closed
rossendbruchseidor opened this issue Apr 19, 2023 · 2 comments
Closed

ACL does not work #272

rossendbruchseidor opened this issue Apr 19, 2023 · 2 comments

Comments

@rossendbruchseidor
Copy link

rossendbruchseidor commented Apr 19, 2023

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?

@iegomez
Copy link
Owner

iegomez commented Apr 19, 2023

Besides the host that I guess you're just redacting, it looks fine.
I'd need some logs to tell more.

@rossendbruchseidor
Copy link
Author

Ok, ACL json parameter acc must be integer. It works ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants