Hi please help with all the “new” auth configuration.
I’m on 0.89.1 with a VM Hassio.
My current config looks like this
http:
api_password: !secret api_password
cors_allowed_origins:
- http://192.168.2.25:7080
trusted_networks:
- 127.0.0.1
- 192.168.2.0/24
- 172.30.33.0/24
ip_ban_enabled: True
login_attempts_threshold: 5
base_url: https://xxxxxx
I got 2 Warning in the log
2019-03-21 01:37:40 WARNING (MainThread) [homeassistant.components.http] Configuring trusted_networks via the http component has been deprecated. Use the trusted networks auth provider instead. For instructions, see https://www.home-assistant.io/docs/authentication/providers/#trusted-networks
2019-03-21 01:37:40 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don't require it, remove the 'api_password' from your http config.
Works fine so far. But with 0.90.0 I have to migrate to the new auth providers with the API password. I tried this config but its not working. What is wrong???
homeassistant:
auth_providers:
- type: homeassistant
- type: trusted_networks
- type: legacy_api_password
api_password: !secret api_password
http:
cors_allowed_origins:
- http://192.168.2.25:7080
trusted_networks:
- 127.0.0.1
- 192.168.2.0/24
- 172.30.33.0/24
ip_ban_enabled: True
login_attempts_threshold: 5
base_url: https://xxxxxxx