Homebridge via Portainer no mqtt

I’m not sure if I’m right here. I have put home assistant and home bridge on a single Raspi via the Portainer-Addon in home assistant.
mqtt-devices are connected in home bridge via mqttthing. However, I always get the error: MQTT Error: Error: Connection refused: Not authorized
But the devices are available in Home Assistant. So, apparently mqtt isn’t forwarded to Portainer properly. Is there a way to do so?