Help with "unknown_error" when adding a user

Hi folks… I’m getting the error message shown below when trying to create a user from the Configuration panel. I’m on HA 0.91.4 running on Hassio. My auth_providers setup as follows:

  auth_providers:
- type: trusted_networks
  trusted_networks:
    - 192.168.0.0/24
    - 127.0.0.1

I appreciate any ideas on what is happening here. Thank you!

  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.0.0/24
        - 127.0.0.1
    - type: homeassistant

Formatting perhaps?
Maybe you also need the other type… not sure

3 Likes

Thank you. The formatting matches yours in my configuration.yaml file. It just didn’t copy/paste over to my post here very well.

Formatting aside, you added “-type: homeassistant”. That isn’t in mine. Should it be?

see my edit… you might need the homeassistant type as well. It will also use the first one in the list (by default) so perhaps put homeassistant first…

1 Like

Yep! That did it. Now I can create users. Thank you!

1 Like