mirror of
https://github.com/lldap/lldap.git
synced 2026-07-25 17:58:44 +00:00
example_configs: update Home Assistant
Found that only a restart of Home Assistant will read the new lines in configuration.yaml. Also added a note to use `-k` when using the curl command if needed.
This commit is contained in:
@@ -8,6 +8,7 @@ The [auth script](lldap-ha-auth.sh) attempts to authenticate a user against an L
|
|||||||
|
|
||||||
1. Copy the [auth script](lldap-ha-auth.sh) to your home assistant instance. In this example, we use `/config/lldap-ha-auth.sh`.
|
1. Copy the [auth script](lldap-ha-auth.sh) to your home assistant instance. In this example, we use `/config/lldap-ha-auth.sh`.
|
||||||
- Set the script as executable by running `chmod +x /config/lldap-ha-auth.sh`
|
- Set the script as executable by running `chmod +x /config/lldap-ha-auth.sh`
|
||||||
|
- If your lldap reverse proxy is using a local (insecure) certificate, you have to add `-k` to the `curl` commands
|
||||||
2. Add the following to your configuration.yaml in Home assistant:
|
2. Add the following to your configuration.yaml in Home assistant:
|
||||||
```yaml
|
```yaml
|
||||||
homeassistant:
|
homeassistant:
|
||||||
@@ -32,4 +33,4 @@ homeassistant:
|
|||||||
args: ["https://lldap.example.com", "homeassistant_user", "homeassistant_admin", "homeassistant_local"]
|
args: ["https://lldap.example.com", "homeassistant_user", "homeassistant_admin", "homeassistant_local"]
|
||||||
meta: true
|
meta: true
|
||||||
```
|
```
|
||||||
3. Reload your config or restart Home Assistant
|
3. Restart Home Assistant
|
||||||
|
|||||||
Reference in New Issue
Block a user