Fix Authentik LDAP
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user