Fix token
This commit is contained in:
@@ -86,9 +86,6 @@ in {
|
|||||||
AUTHENTIK_HOST = "https://${containerCfg.subdomain}.${serverCfg.hostDomain}";
|
AUTHENTIK_HOST = "https://${containerCfg.subdomain}.${serverCfg.hostDomain}";
|
||||||
AUTHENTIK_INSECURE = "false";
|
AUTHENTIK_INSECURE = "false";
|
||||||
};
|
};
|
||||||
overrides = {
|
|
||||||
ports = [ "636:6636" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -13,13 +13,26 @@ entries:
|
|||||||
invalidation_flow:
|
invalidation_flow:
|
||||||
!Find [authentik_flows.flow, [slug, default-provider-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
|
- model: authentik_core.token
|
||||||
identifiers:
|
identifiers:
|
||||||
identifier: ldap-outpost-static-token
|
identifier: ldap-outpost-static-token
|
||||||
attrs:
|
attrs:
|
||||||
intent: api
|
intent: api
|
||||||
key: !Env AUTHENTIK_TOKEN
|
key: !Env AUTHENTIK_TOKEN
|
||||||
user: 1
|
user: !Find [authentik_core.user, [username, "ldap-service"]]
|
||||||
|
|
||||||
- model: authentik_outposts.outpost
|
- model: authentik_outposts.outpost
|
||||||
identifiers:
|
identifiers:
|
||||||
@@ -36,19 +49,6 @@ entries:
|
|||||||
refresh_interval: minutes=5
|
refresh_interval: minutes=5
|
||||||
authentik_host_insecure: false
|
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
|
- model: authentik_rbac.role
|
||||||
state: present
|
state: present
|
||||||
identifiers:
|
identifiers:
|
||||||
|
|||||||
Reference in New Issue
Block a user