So I am following the instructions to install the MQTT broker from the addon repo, it mentions to create a user, I’ve looked and I can’t see the option to add one, I’ve also had a google around and all the answers say to enable Advanced view which I’ve had enabled for a while, I turned it off and back on again to make sure there wasn’t something funky, I can confirm advanced options are visible elsewhere
core-2021.2.3
supervisor-2021.02.11
Home Assistant OS 5.12
MQTT 5.1.1
It indicates to enable Advanced Mode so that Configuration > Users becomes visible. Normally this menu option is hidden.
Use Configuration > Users to create a user account. This account can access several things (aside from Home Assistant itself) including the MQTT broker (Mosquitto Add-on). That’s what I did when I needed an account to login to the broker using an external MQTT client (MQTT Explorer).
I would say, you have to loose the first line (logins: []) in your config, as now you have logins defined twice. So if you delete the first line, the actual logins defined lower down will take effect.
For those finding this like I have and failed to understand the instuctions at first glance. The instruction is to create a new user within Home Assistant, not Mosquitto itself. It can be a little confusing seeing “configuration → users” when there is a configuration page for Mosquitto. This new user will be used by misquitto (and by extention MQTT devices).