2022-07-30 21:55:58 +00:00
|
|
|
version: 1
|
2022-08-02 22:05:49 +00:00
|
|
|
metadata:
|
|
|
|
labels:
|
2022-08-07 17:27:03 +00:00
|
|
|
blueprints.goauthentik.io/instantiate: "false"
|
2022-08-02 22:05:49 +00:00
|
|
|
name: Example - Enrollment with email verification
|
2022-07-30 21:55:58 +00:00
|
|
|
entries:
|
|
|
|
- identifiers:
|
|
|
|
slug: default-enrollment-flow
|
2022-07-31 15:11:44 +00:00
|
|
|
id: flow
|
2022-07-30 21:55:58 +00:00
|
|
|
model: authentik_flows.flow
|
|
|
|
attrs:
|
|
|
|
name: Default enrollment Flow
|
|
|
|
title: Welcome to authentik!
|
|
|
|
designation: enrollment
|
2022-12-02 15:14:25 +00:00
|
|
|
authentication: require_unauthenticated
|
2022-07-30 21:55:58 +00:00
|
|
|
- identifiers:
|
2023-01-24 11:23:22 +00:00
|
|
|
name: default-enrollment-field-username
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-username
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
2023-01-24 11:23:22 +00:00
|
|
|
field_key: username
|
|
|
|
label: Username
|
2022-07-30 21:55:58 +00:00
|
|
|
type: username
|
|
|
|
required: true
|
|
|
|
placeholder: Username
|
2022-09-14 19:54:24 +00:00
|
|
|
placeholder_expression: false
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 0
|
|
|
|
- identifiers:
|
2023-01-24 11:23:22 +00:00
|
|
|
name: default-enrollment-field-password
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-password
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
2023-01-24 11:23:22 +00:00
|
|
|
field_key: password
|
|
|
|
label: Password
|
2022-07-30 21:55:58 +00:00
|
|
|
type: password
|
|
|
|
required: true
|
|
|
|
placeholder: Password
|
2022-09-14 19:54:24 +00:00
|
|
|
placeholder_expression: false
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 0
|
|
|
|
- identifiers:
|
2023-01-24 11:23:22 +00:00
|
|
|
name: default-enrollment-field-password-repeat
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-password-repeat
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
2023-01-24 11:23:22 +00:00
|
|
|
field_key: password_repeat
|
|
|
|
label: Password (repeat)
|
2022-07-30 21:55:58 +00:00
|
|
|
type: password
|
|
|
|
required: true
|
|
|
|
placeholder: Password (repeat)
|
2022-09-14 19:54:24 +00:00
|
|
|
placeholder_expression: false
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 1
|
|
|
|
- identifiers:
|
2023-01-24 11:23:22 +00:00
|
|
|
name: default-enrollment-field-name
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-name
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
2023-01-24 11:23:22 +00:00
|
|
|
field_key: name
|
|
|
|
label: Name
|
2022-07-30 21:55:58 +00:00
|
|
|
type: text
|
|
|
|
required: true
|
|
|
|
placeholder: Name
|
2022-09-14 19:54:24 +00:00
|
|
|
placeholder_expression: false
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 0
|
|
|
|
- identifiers:
|
2023-01-24 11:23:22 +00:00
|
|
|
name: default-enrollment-field-email
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-email
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
2023-01-24 11:23:22 +00:00
|
|
|
field_key: email
|
|
|
|
label: Email
|
2022-07-30 21:55:58 +00:00
|
|
|
type: email
|
|
|
|
required: true
|
|
|
|
placeholder: Email
|
2022-09-14 19:54:24 +00:00
|
|
|
placeholder_expression: false
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 1
|
|
|
|
- identifiers:
|
|
|
|
name: default-enrollment-email-verification
|
2022-07-31 15:11:44 +00:00
|
|
|
id: default-enrollment-email-verification
|
2022-07-30 21:55:58 +00:00
|
|
|
model: authentik_stages_email.emailstage
|
|
|
|
attrs:
|
|
|
|
use_global_settings: true
|
|
|
|
template: email/account_confirmation.html
|
|
|
|
activate_user_on_success: true
|
|
|
|
- identifiers:
|
|
|
|
name: default-enrollment-prompt-second
|
2022-07-31 15:11:44 +00:00
|
|
|
id: default-enrollment-prompt-second
|
2022-07-30 21:55:58 +00:00
|
|
|
model: authentik_stages_prompt.promptstage
|
|
|
|
attrs:
|
|
|
|
fields:
|
2022-07-31 15:11:44 +00:00
|
|
|
- !KeyOf prompt-field-name
|
|
|
|
- !KeyOf prompt-field-email
|
2022-07-30 21:55:58 +00:00
|
|
|
- identifiers:
|
|
|
|
name: default-enrollment-prompt-first
|
2022-07-31 15:11:44 +00:00
|
|
|
id: default-enrollment-prompt-first
|
2022-07-30 21:55:58 +00:00
|
|
|
model: authentik_stages_prompt.promptstage
|
|
|
|
attrs:
|
|
|
|
fields:
|
2022-07-31 15:11:44 +00:00
|
|
|
- !KeyOf prompt-field-username
|
|
|
|
- !KeyOf prompt-field-password
|
|
|
|
- !KeyOf prompt-field-password-repeat
|
2022-07-30 21:55:58 +00:00
|
|
|
- identifiers:
|
|
|
|
name: default-enrollment-user-login
|
2022-07-31 15:11:44 +00:00
|
|
|
id: default-enrollment-user-login
|
2022-07-30 21:55:58 +00:00
|
|
|
model: authentik_stages_user_login.userloginstage
|
|
|
|
- identifiers:
|
|
|
|
name: default-enrollment-user-write
|
2022-07-31 15:11:44 +00:00
|
|
|
id: default-enrollment-user-write
|
2022-07-30 21:55:58 +00:00
|
|
|
model: authentik_stages_user_write.userwritestage
|
|
|
|
attrs:
|
|
|
|
create_users_as_inactive: true
|
2023-01-05 14:46:20 +00:00
|
|
|
user_creation_mode: always_create
|
2022-07-30 21:55:58 +00:00
|
|
|
- identifiers:
|
2022-07-31 15:11:44 +00:00
|
|
|
target: !KeyOf flow
|
|
|
|
stage: !KeyOf default-enrollment-prompt-first
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 10
|
|
|
|
model: authentik_flows.flowstagebinding
|
|
|
|
- identifiers:
|
2022-07-31 15:11:44 +00:00
|
|
|
target: !KeyOf flow
|
|
|
|
stage: !KeyOf default-enrollment-prompt-second
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 11
|
|
|
|
model: authentik_flows.flowstagebinding
|
|
|
|
- identifiers:
|
2022-07-31 15:11:44 +00:00
|
|
|
target: !KeyOf flow
|
|
|
|
stage: !KeyOf default-enrollment-user-write
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 20
|
|
|
|
model: authentik_flows.flowstagebinding
|
|
|
|
- identifiers:
|
2022-07-31 15:11:44 +00:00
|
|
|
target: !KeyOf flow
|
|
|
|
stage: !KeyOf default-enrollment-email-verification
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 30
|
|
|
|
model: authentik_flows.flowstagebinding
|
|
|
|
- identifiers:
|
2022-07-31 15:11:44 +00:00
|
|
|
target: !KeyOf flow
|
|
|
|
stage: !KeyOf default-enrollment-user-login
|
2022-07-30 21:55:58 +00:00
|
|
|
order: 40
|
|
|
|
model: authentik_flows.flowstagebinding
|