The trusted networks provider should not depend on the trusted networks middleware for the HTTP component. Instead, it should require configuration to be passed in via the auth provider section.
homeassistant:
auth_providers:
- type: trusted_networks
trusted_networks:
- 127.0.0.1
- ::1
- 192.168.0.0/24
- fd00::/8
Why? What if auth_provider.trusted_networks has different value with http.trusted_networks?
Or you mean http middleware should use auth_provider.trusted_networks as well?
The HTTP middleware will be removed, authentication will be solely done with access tokens.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:
Still to be done.
Most helpful comment
The HTTP middleware will be removed, authentication will be solely done with access tokens.