From 6ad81402bda57b44b4b594be7c3df82911379690 Mon Sep 17 00:00:00 2001 From: DavidFW1960 <36390762+DavidFW1960@users.noreply.github.com> Date: Fri, 5 Apr 2019 06:45:20 +1100 Subject: [PATCH] add quotes to IPv6 addresses for trusted_users (#9127) --- source/_docs/authentication/providers.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_docs/authentication/providers.markdown b/source/_docs/authentication/providers.markdown index 19a4ebef49b..82751e8a1b9 100644 --- a/source/_docs/authentication/providers.markdown +++ b/source/_docs/authentication/providers.markdown @@ -108,13 +108,15 @@ homeassistant: 192.168.0.0/24: - user1_id - user2_id - fd00::/8: + "fd00::/8": - user1_id - group: system-users ``` First note, `trusted_users` configuration need you use `user id`, you can find it through Configuration -> Users -> View User Detail. The `trusted_users` configuration will not validate the existing of the user, so please make sure you have put in correct user id by yourself. +Second note, a trusted user with an IPv6 address must put the IPv6 address in quotes as shown. + In above example, if user try to access Home Assistant from 192.168.0.1, they will have only one user available to choose. They will have two users available if access from 192.168.0.38 (from 192.168.0.0/24 network). If they access from 192.168.10.0/24 network, they can choose from all available users (non-system and active users). Specially, you can use `group: GROUP_ID` to assign all users in certain `user group` to be available to choose. Group and users can be mix and match.