Although this is a fairly old thread, I want to document here that there is another solution which avoids using the deprecated api_key option:
home assistant configuration part:
homeassistant:
auth_providers:
- type: homeassistant
- type: trusted_networks
allow_bypass_login: true
trusted_networks:
- 192.168.100.123
trusted_users:
192.168.100.123: 2cfdca395f8d40d2b35ad2b61ddd5a03
^ where 192.168.100.123 is the IP-address of the e.g. tablet computer running the HADashboard and 2cfdca395f8d40d2b35ad2b61ddd5a03 is the User-ID of the designated user account mapping in Home Assistant.
HADashboard configuration:
camerawidget:
widget_type: camera
entity: camera.your-camera-entity
refresh: 0.5
base_url: https://your-base-url