应用通过配置文件配置了mqtt auth的用户名和密码。

升级到最新的0.21.x以后，每次启动都会报错 HTTP Server Responded: 401 Unauthorized
查代码看时webhook内部起的mqtt client连接时用户名和密码为空，连上后因为未授权而被踢掉，然后不断重连。

请问要使用这个webhook，应该如何通过配置文件来配置？

报错日志：
2024-02-27 15:35:22 [5255] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:1619: tcptran_pipe_start!
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:305: start tcptran_pipe_nego_cb max len 12 pipe_addr 0xae915798 gotrx 0 wantrx 12

2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:305: start tcptran_pipe_nego_cb max len 12 pipe_addr 0xae915798 gotrx 5 wantrx 26

2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:553: remaining length: 24
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:564: pro_name: MQTT
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:567: pro_ver: 4
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:575: conn flag:0
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:609: pos after property: [12]
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:631: clientid: [hook-trigger] [12]
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:632: pos after clientid: [26]
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:715: pos: [26] len: [24]
2024-02-27 15:35:22 [5257] DEBUG /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:174: change p_id by hashing 2043922967 rv 0
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:184:  ************ tcptran_pipe_init [0xae915798] ************ 
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:602: ##########nano_pipe_init###############
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:638:  ########## nano_pipe_start ########## 
2024-02-27 15:35:22 [5257] DEBUG /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:670: client connected! addr [127.0.0.1 port [21646]

2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:1243: no valid entry in auth list
2024-02-27 15:35:22 [5257] ERROR /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/auth_http.c:314: HTTP Server Responded: 401 Unauthorized
2024-02-27 15:35:22 [5257] WARN  /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:749: Invalid auth info.
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:819:  ############## nano_pipe_close ############## 

配置文件：
[nanomq-0.21.0.conf.zip](https://github.com/nanomq/nanomq/files/14489217/nanomq-0.21.0.conf.zip)

webhook auth 401 Unauthorized
This is a GitHub Issue
repo:nanomq
owner:emqx
Title : webhook auth 401 Unauthorized
Issue date:

--- start body ---
应用通过配置文件配置了mqtt auth的用户名和密码。

升级到最新的0.21.x以后，每次启动都会报错 HTTP Server Responded: 401 Unauthorized
查代码看时webhook内部起的mqtt client连接时用户名和密码为空，连上后因为未授权而被踢掉，然后不断重连。

请问要使用这个webhook，应该如何通过配置文件来配置？

报错日志：
2024-02-27 15:35:22 [5255] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:1619: tcptran_pipe_start!
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:305: start tcptran_pipe_nego_cb max len 12 pipe_addr 0xae915798 gotrx 0 wantrx 12

2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:305: start tcptran_pipe_nego_cb max len 12 pipe_addr 0xae915798 gotrx 5 wantrx 26

2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:553: remaining length: 24
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:564: pro_name: MQTT
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:567: pro_ver: 4
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:575: conn flag:0
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:609: pos after property: [12]
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:631: clientid: [hook-trigger] [12]
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:632: pos after clientid: [26]
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:715: pos: [26] len: [24]
2024-02-27 15:35:22 [5257] DEBUG /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:174: change p_id by hashing 2043922967 rv 0
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:184:  ************ tcptran_pipe_init [0xae915798] ************ 
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:602: ##########nano_pipe_init###############
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:638:  ########## nano_pipe_start ########## 
2024-02-27 15:35:22 [5257] DEBUG /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:670: client connected! addr [127.0.0.1 port [21646]

2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:1243: no valid entry in auth list
2024-02-27 15:35:22 [5257] ERROR /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/auth_http.c:314: HTTP Server Responded: 401 Unauthorized
2024-02-27 15:35:22 [5257] WARN  /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:749: Invalid auth info.
2024-02-27 15:35:22 [5257] TRACE /home/runner/work/nanomq/nanomq/nng/src/sp/protocol/mqtt/nmq_mqtt.c:819:  ############## nano_pipe_close ############## 

配置文件：
[nanomq-0.21.0.conf.zip](https://github.com/nanomq/nanomq/files/14489217/nanomq-0.21.0.conf.zip)

--- end body ---

The issue describes a problem with the webhook authentication in the Nanomq application, where the MQTT client is unable to connect due to empty username and password fields after an upgrade. This results in a 401 Unauthorized error. However, this does not indicate a security vulnerability but rather a configuration issue that needs to be addressed by the user.