version: 1
entries:
- identifiers:
slug: default-enrollment-flow
id: flow
model: authentik_flows.flow
attrs:
name: Default enrollment Flow
title: Welcome to authentik!
designation: enrollment
field_key: username
label: Username
id: prompt-field-username
model: authentik_stages_prompt.prompt
type: username
required: true
placeholder: Username
order: 0
field_key: password
label: Password
id: prompt-field-password
type: password
placeholder: Password
field_key: password_repeat
label: Password (repeat)
id: prompt-field-password-repeat
placeholder: Password (repeat)
order: 1
field_key: name
label: Name
id: prompt-field-name
type: text
placeholder: Name
field_key: email
label: Email
id: prompt-field-email
type: email
placeholder: Email
name: default-enrollment-email-verification
id: default-enrollment-email-verification
model: authentik_stages_email.emailstage
use_global_settings: true
host: localhost
port: 25
username: ""
use_tls: false
use_ssl: false
timeout: 10
from_address: system@authentik.local
token_expiry: 30
subject: authentik
template: email/account_confirmation.html
activate_user_on_success: true
name: default-enrollment-prompt-second
id: default-enrollment-prompt-second
model: authentik_stages_prompt.promptstage
fields:
- !KeyOf prompt-field-name
- !KeyOf prompt-field-email
name: default-enrollment-prompt-first
id: default-enrollment-prompt-first
- !KeyOf prompt-field-username
- !KeyOf prompt-field-password
- !KeyOf prompt-field-password-repeat
name: default-enrollment-user-login
id: default-enrollment-user-login
model: authentik_stages_user_login.userloginstage
session_duration: seconds=0
name: default-enrollment-user-write
id: default-enrollment-user-write
model: authentik_stages_user_write.userwritestage
create_users_as_inactive: true
target: !KeyOf flow
stage: !KeyOf default-enrollment-prompt-first
order: 10
model: authentik_flows.flowstagebinding
re_evaluate_policies: false
stage: !KeyOf default-enrollment-prompt-second
order: 11
stage: !KeyOf default-enrollment-user-write
order: 20
stage: !KeyOf default-enrollment-email-verification
order: 30
stage: !KeyOf default-enrollment-user-login
order: 40