Created
December 4, 2020 03:59
-
-
Save ugifractal/0069d25b31d4760b6e053a8595002c2c to your computer and use it in GitHub Desktop.
sample auth plugin for mqtt http /usr/local/etc/mosquitto/mosquitto.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth_plugin /Users/sugiarto/my_apps/sugi/goapp/mosquitto-go-auth/go-auth.so | |
auth_opt_backends http | |
auth_opt_http_host localhost | |
auth_opt_http_port 8000 | |
auth_opt_http_getuser_uri /mqtt/get_user | |
auth_opt_http_response_mode status | |
auth_opt_http_params_mode json | |
auth_opt_http_aclcheck_uri /mqtt/get_acl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment