Hello. I need to do opened dashboard based HA. So i need bypass logins for any users in any networks except home network 192.168.1.1/24
In the internet I can find number of quastions how to realise same idea but could not find any answers. If I’m googling bad, ples send me links with implementations of free access without entering login\password for any ip adresses except home network.
Could such auth_provider work for me?
homeassistant:
auth_providers:
- type: trusted_networks
trusted_networks:
#
# ! chose maximum networks EXCLUDING 192.168.x.x !
#
# using any ip calculator
- 0.0.0.0/1
- 128.0.0.0/2
- 192.0.0.0/9
- 192.170.0.0/15
- 192.176.0.0/12
- 192.192.0.0/10
- 193.0.0.0/8
- 194.0.0.0/7
- 196.0.0.0/6
- 200.0.0.0/5
- 208.0.0.0/4
- 224.0.0.0/3
- 0000::/0
allow_bypass_login: true
- type: homeassistant
In this case mostly all networks probably shoud be avaliable for bypassing, except 192.168.x.x (and maybe some others subnets close to this range)
If it can work in teory, let me know what I need to change in order to give the life such configuration.