To avoid the login procedure of home assistant I wanted to use the trusted networks athentication provider. Because I don’t want the trusted user to be the ‘owner’ I created a second ‘user’ account which I added in the configuration as shown below.
homeassistant:
auth_providers:
- type: trusted_networks
trusted_networks:
- 192.168.3.0/24
trusted_users:
192.168.3.0/24: my_user_id
allow_bypass_login: true
- type: homeassistant
This does what I want for daily use, but unfortunately this also locks out the ‘owner’ user. I’m not able to login to home assistant manually. I hoped this would be possible by logging out after the automatic login but this doesn’t seem the case.
Is there a way to achieve this by changing my configuration? Or is there an url on the home assistant server I can access to bypass the automatic login and use user/password authentication to login with my ‘owner’ account?