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-01 08:40:51 +00:00
|
|
|
authentication: require_unauthenticated
|
2022-07-30 21:55:58 +00:00
|
|
|
- identifiers:
|
|
|
|
field_key: username
|
|
|
|
label: Username
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-username
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
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:
|
|
|
|
field_key: password
|
|
|
|
label: Password
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-password
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
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:
|
|
|
|
field_key: password_repeat
|
|
|
|
label: Password (repeat)
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-password-repeat
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
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:
|
|
|
|
field_key: name
|
|
|
|
label: Name
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-name
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
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:
|
|
|
|
field_key: email
|
|
|
|
label: Email
|
2022-07-31 15:11:44 +00:00
|
|
|
id: prompt-field-email
|
|
|
|
model: authentik_stages_prompt.prompt
|
|
|
|
attrs:
|
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
|
|
|
|
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
|
|
|
|
- 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
|
|
|
|
attrs:
|
|
|
|
session_duration: seconds=0
|
|
|
|
- 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
|
2022-12-23 13:12:58 +00:00
|
|
|
can_create_users: true
|
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
|
|
|
|
attrs:
|
|
|
|
re_evaluate_policies: false
|
|
|
|
- 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
|
|
|
|
attrs:
|
|
|
|
re_evaluate_policies: false
|
|
|
|
- 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
|
|
|
|
attrs:
|
|
|
|
re_evaluate_policies: false
|
|
|
|
- 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
|
|
|
|
attrs:
|
|
|
|
re_evaluate_policies: false
|
|
|
|
- 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
|
|
|
|
attrs:
|
|
|
|
re_evaluate_policies: false
|