After fighting without any success and having to reinstall HA to recover access to it (neven succeeded to reset the authentification system ), I reinstalled clean and this time was careful to well-setup the pass and save it in my password vault.
Unhappy when I try to login at third party modules installed in hassio (that are supposed to use the HA authentication system), I get rejected for authentication issues and same if I try to change my password in HA !!
I noticed these errors in log:
Here is also relevant part of config file for authentication (prefers to avoid to touch these considering insane problems I got in past with authentication system of HA !!)
No one on this ? I still get the same error in logs each time I try to access the UI of esphomeyaml: Can't find Home Assistant auth.
and this is what I have in config file for auth things:
homeassistant:
# Name of the location where Home Assistant is running
name: Maison
# Location required to calculate the time the sun rises and sets
latitude: 11.11111
longitude: 12.11111
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 222
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Paris
# Customization file
customize: !include customize.yaml
auth_providers:
- type: trusted_networks
http:
trusted_networks:
- 127.0.0.1
- 192.168.1.0/24
auth:
Nope I had to reinstall whole system, never found any solution unless all âsolutionsâ suggested here, none of them worked !! Itâs one of the biggest flaw design (or missing/incomplete/outdated documentation about this) of HA for me right now with none tool to validate efficiently your yaml files when you edit them !!
Good luck and please share solution if you find it !
Little explanation as far as I understand it correctly.
You donât need to provide anything anymore in regards to the auth_providers. HA configures the standard auth providers automatically. (That should explain why it worked after a reinstall)
BUT if you want to configure a custom setting in regards to the auth providers, you need to make sure you configure the whole thing as the default config isnât activated anymore, and so will disable all auth providers that are not listed.
In my case, I wanted to bypass password authentication on my local network and on connection coming in via VPN.
So now I got the same issue âCanât find Home Assistant auth.â when using plugins.
Adding the:
âtype: homeassistantâ
activates the default auth provider also, and solved everything.
(also, no extra auth: is needed as suggested I think)