fix authentic flow
This commit is contained in:
@@ -4,17 +4,10 @@ metadata:
|
||||
labels:
|
||||
blueprint-type: core
|
||||
entries:
|
||||
# Locate the binding for the root user setup flow and disable it
|
||||
- model: authentik_flows.flowstagebinding
|
||||
identifiers:
|
||||
target: "ak-root-user-fill"
|
||||
attrs:
|
||||
enabled: false
|
||||
|
||||
# Optionally, disable the default enrollment flow entirely
|
||||
- model: authentik_flows.flow
|
||||
identifiers:
|
||||
slug: "default-enrollment-flow"
|
||||
slug: "default-source-enrollment"
|
||||
attrs:
|
||||
designation: "enrollment"
|
||||
enabled: false
|
||||
@@ -60,3 +53,18 @@ entries:
|
||||
path: "users"
|
||||
groups:
|
||||
- name: "admin"
|
||||
|
||||
# Disable the Initial Setup Flow
|
||||
- model: authentik_flows.flow
|
||||
identifiers:
|
||||
slug: "initial-setup"
|
||||
attrs:
|
||||
authentication: "require_superuser"
|
||||
enabled: false
|
||||
|
||||
# Disable the default 'akadmin' if it exists
|
||||
- model: authentik_core.user
|
||||
identifiers:
|
||||
username: "akadmin"
|
||||
attrs:
|
||||
is_active: false
|
||||
|
||||
Reference in New Issue
Block a user