From f21ef5093898df5904dec08c2935f6ef2c91d820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Skirgaj=C5=82=C5=82o?= Date: Fri, 14 May 2021 22:40:51 +0200 Subject: [PATCH] chore: add missing parameter in available variables --- apps/emqx_auth_http/etc/emqx_auth_http.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/emqx_auth_http/etc/emqx_auth_http.conf b/apps/emqx_auth_http/etc/emqx_auth_http.conf index 56a483681..058c86dbf 100644 --- a/apps/emqx_auth_http/etc/emqx_auth_http.conf +++ b/apps/emqx_auth_http/etc/emqx_auth_http.conf @@ -96,6 +96,7 @@ auth.http.acl_req.headers.content-type = application/x-www-form-urlencoded ## When the request method is POST, the final format is determined by content-type ## ## Available Variables: +## - %A: access (1 - subscribe, 2 - publish) ## - %u: username ## - %c: clientid ## - %a: ipaddress @@ -104,6 +105,7 @@ auth.http.acl_req.headers.content-type = application/x-www-form-urlencoded ## - %p: sockport of server accepted ## - %C: common name of client TLS cert ## - %d: subject of client TLS cert +## - %t: topic ## ## Value: =,=,... auth.http.acl_req.params = access=%A,username=%u,clientid=%c,ipaddr=%a,topic=%t,mountpoint=%m