Fix Authentik LDAP

This commit is contained in:
soraefir
2026-05-13 21:48:57 +02:00
parent 7cfd1bb245
commit f7c55f3a5a
3 changed files with 12 additions and 16 deletions

View File

@@ -2,7 +2,6 @@ version: 1
metadata:
name: Pre-configured LDAP Outpost
entries:
# 1. Define the LDAP Provider
- model: authentik_providers_ldap.ldapprovider
identifiers:
name: ldap-provider
@@ -17,17 +16,14 @@ entries:
invalidation_flow:
!Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
# 2. Define the Token with a static Key
- model: authentik_core.token
identifiers:
identifier: ldap-outpost-static-token
attrs:
intent: api
# MANDATORY: Explicitly set your long, secure pre-shared token here
key: !Env AUTHENTIK_LDAP
user: 1 # Assigns to default akadmin user
key: !Env AUTHENTIK_TOKEN
user: 1
# 3. Define the Outpost linking the Provider and the Token
- model: authentik_outposts.outpost
identifiers:
name: LDAP Outpost