mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01: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`.
|
||||
- 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:
|
||||
```yaml
|
||||
homeassistant:
|
||||
@@ -32,4 +33,4 @@ homeassistant:
|
||||
args: ["https://lldap.example.com", "homeassistant_user", "homeassistant_admin", "homeassistant_local"]
|
||||
meta: true
|
||||
```
|
||||
3. Reload your config or restart Home Assistant
|
||||
3. Restart Home Assistant
|
||||
|
||||
Reference in New Issue
Block a user