75 lines
2.0 KiB
YAML
75 lines
2.0 KiB
YAML
version: 1
|
|
metadata:
|
|
name: Default - Password change flow
|
|
entries:
|
|
- attrs:
|
|
check_static_rules: true
|
|
check_zxcvbn: true
|
|
length_min: 8
|
|
password_field: password
|
|
zxcvbn_score_threshold: 2
|
|
error_message: Password needs to be 8 characters or longer.
|
|
identifiers:
|
|
name: default-password-change-password-policy
|
|
model: authentik_policies_password.passwordpolicy
|
|
id: default-password-change-password-policy
|
|
- attrs:
|
|
designation: stage_configuration
|
|
name: Change Password
|
|
title: Change password
|
|
authentication: require_authenticated
|
|
identifiers:
|
|
slug: default-password-change
|
|
model: authentik_flows.flow
|
|
id: flow
|
|
- attrs:
|
|
order: 300
|
|
placeholder: Password
|
|
placeholder_expression: false
|
|
required: true
|
|
type: password
|
|
field_key: password
|
|
label: Password
|
|
identifiers:
|
|
name: default-password-change-field-password
|
|
id: prompt-field-password
|
|
model: authentik_stages_prompt.prompt
|
|
- attrs:
|
|
order: 301
|
|
placeholder: Password (repeat)
|
|
placeholder_expression: false
|
|
required: true
|
|
type: password
|
|
field_key: password_repeat
|
|
label: Password (repeat)
|
|
identifiers:
|
|
name: default-password-change-field-password-repeat
|
|
id: prompt-field-password-repeat
|
|
model: authentik_stages_prompt.prompt
|
|
- attrs:
|
|
fields:
|
|
- !KeyOf prompt-field-password
|
|
- !KeyOf prompt-field-password-repeat
|
|
validation_policies:
|
|
- !KeyOf default-password-change-password-policy
|
|
identifiers:
|
|
name: default-password-change-prompt
|
|
id: default-password-change-prompt
|
|
model: authentik_stages_prompt.promptstage
|
|
- identifiers:
|
|
name: default-password-change-write
|
|
id: default-password-change-write
|
|
model: authentik_stages_user_write.userwritestage
|
|
attrs:
|
|
user_creation_mode: never_create
|
|
- identifiers:
|
|
order: 0
|
|
stage: !KeyOf default-password-change-prompt
|
|
target: !KeyOf flow
|
|
model: authentik_flows.flowstagebinding
|
|
- identifiers:
|
|
order: 1
|
|
stage: !KeyOf default-password-change-write
|
|
target: !KeyOf flow
|
|
model: authentik_flows.flowstagebinding
|