Core: Trusted networks auth provider needs to have its own config

Created on 23 Aug 2018  路  4Comments  路  Source: home-assistant/core

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
auth

Most helpful comment

The HTTP middleware will be removed, authentication will be solely done with access tokens.

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings