Fix token

This commit is contained in:
soraefir
2026-05-14 21:30:11 +02:00
parent 97004b4b75
commit 601999180b
2 changed files with 14 additions and 17 deletions

View File

@@ -86,9 +86,6 @@ in {
AUTHENTIK_HOST = "https://${containerCfg.subdomain}.${serverCfg.hostDomain}";
AUTHENTIK_INSECURE = "false";
};
overrides = {
ports = [ "636:6636" ];
};
};
};

View File

@@ -13,13 +13,26 @@ entries:
invalidation_flow:
!Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
- model: authentik_core.user
state: present
identifiers:
username: "ldap-service"
attrs:
name: "LDAP Bind Service Account"
type: "service_account"
path: "goauthentik.io"
is_active: true
password: !Env DEFAULT_LDAP_PASSWORD
attributes:
ak_recovery_immutable: true
- model: authentik_core.token
identifiers:
identifier: ldap-outpost-static-token
attrs:
intent: api
key: !Env AUTHENTIK_TOKEN
user: 1
user: !Find [authentik_core.user, [username, "ldap-service"]]
- model: authentik_outposts.outpost
identifiers:
@@ -36,19 +49,6 @@ entries:
refresh_interval: minutes=5
authentik_host_insecure: false
- model: authentik_core.user
state: present
identifiers:
username: "ldap-service"
attrs:
name: "LDAP Bind Service Account"
type: "service_account"
path: "goauthentik.io"
is_active: true
password: !Env DEFAULT_LDAP_PASSWORD
attributes:
ak_recovery_immutable: true
- model: authentik_rbac.role
state: present
identifiers: