fix
This commit is contained in:
@@ -86,6 +86,9 @@ in {
|
||||
AUTHENTIK_HOST = "https://${containerCfg.subdomain}.${serverCfg.hostDomain}";
|
||||
AUTHENTIK_INSECURE = "false";
|
||||
};
|
||||
overrides = {
|
||||
ports = [ "6636:636" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ in {
|
||||
|
||||
${lib.optionalString (serverCfg.containers ? authentik) ''
|
||||
$GT admin auth delete --id 1
|
||||
$GT admin auth add-ldap --name Authentik --host authentik-ldap --port 3389 --security-protocol unencrypted \
|
||||
$GT admin auth add-ldap --name Authentik --host ${builder.host} --port 636 --security-protocol ldaps \
|
||||
--bind-dn "cn=ldap-service,ou=users,${LDAP_DC_DOMAIN}" --bind-password $DEFAULT_LDAP_PASSWORD \
|
||||
--user-search-base "ou=users,${LDAP_DC_DOMAIN}" --user-filter "(|(username=%s)(email=%s))" \
|
||||
--username-attribute "username" --firstname-attribute "givenName" --surname-attribute "sn" --email-attribute "mail" \
|
||||
|
||||
Reference in New Issue
Block a user