fix authentic flow
This commit is contained in:
@@ -4,17 +4,10 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
blueprint-type: core
|
blueprint-type: core
|
||||||
entries:
|
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
|
# Optionally, disable the default enrollment flow entirely
|
||||||
- model: authentik_flows.flow
|
- model: authentik_flows.flow
|
||||||
identifiers:
|
identifiers:
|
||||||
slug: "default-enrollment-flow"
|
slug: "default-source-enrollment"
|
||||||
attrs:
|
attrs:
|
||||||
designation: "enrollment"
|
designation: "enrollment"
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -60,3 +53,18 @@ entries:
|
|||||||
path: "users"
|
path: "users"
|
||||||
groups:
|
groups:
|
||||||
- name: "admin"
|
- 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