2020-09-08 21:18:42 +00:00
|
|
|
{
|
|
|
|
"version": 1,
|
|
|
|
"entries": [
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
|
|
|
"slug": "default-recovery-flow"
|
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_flows.flow",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
|
|
|
"name": "Default recovery flow",
|
|
|
|
"title": "Reset your password",
|
2022-07-02 12:17:41 +00:00
|
|
|
"designation": "recovery",
|
|
|
|
"cache_count": 0,
|
|
|
|
"policy_engine_mode": "any",
|
|
|
|
"compatibility_mode": false,
|
|
|
|
"layout": "stacked"
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "7db91ee8-4290-4e08-8d39-63f132402515"
|
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_stages_prompt.prompt",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
|
|
|
"field_key": "password",
|
|
|
|
"label": "Password",
|
|
|
|
"type": "password",
|
|
|
|
"required": true,
|
|
|
|
"placeholder": "Password",
|
2022-07-02 12:17:41 +00:00
|
|
|
"order": 0,
|
|
|
|
"sub_text": "",
|
|
|
|
"placeholder_expression": false
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "d30b5eb4-7787-4072-b1ba-65b46e928920"
|
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_stages_prompt.prompt",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
|
|
|
"field_key": "password_repeat",
|
|
|
|
"label": "Password (repeat)",
|
|
|
|
"type": "password",
|
|
|
|
"required": true,
|
|
|
|
"placeholder": "Password (repeat)",
|
2022-07-02 12:17:41 +00:00
|
|
|
"order": 1,
|
|
|
|
"sub_text": "",
|
|
|
|
"placeholder_expression": false
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
2020-09-09 15:23:26 +00:00
|
|
|
{
|
|
|
|
"identifiers": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"pk": "1c5709ae-1b3e-413a-a117-260ab509bf5c"
|
2020-09-09 15:23:26 +00:00
|
|
|
},
|
2022-07-02 12:17:41 +00:00
|
|
|
"model": "authentik_policies_expression.expressionpolicy",
|
2020-09-09 15:23:26 +00:00
|
|
|
"attrs": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"name": "default-recovery-skip-if-restored",
|
|
|
|
"execution_logging": false,
|
|
|
|
"bound_to": 2,
|
|
|
|
"expression": "return request.context.get('is_restored', False)"
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"pk": "1c5709ae-1b3e-413a-a117-260ab509bf5c"
|
2020-09-08 21:18:42 +00:00
|
|
|
},
|
2022-07-02 12:17:41 +00:00
|
|
|
"model": "authentik_policies_expression.expressionpolicy",
|
|
|
|
"attrs": {
|
|
|
|
"name": "default-recovery-skip-if-restored",
|
|
|
|
"execution_logging": false,
|
|
|
|
"bound_to": 2,
|
|
|
|
"expression": "return request.context.get('is_restored', False)"
|
|
|
|
}
|
2020-09-08 21:18:42 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"pk": "4ac5719f-32c0-441c-8a7e-33c5ea0db7da",
|
2020-09-08 21:18:42 +00:00
|
|
|
"name": "default-recovery-email"
|
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_stages_email.emailstage",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
2021-09-22 16:52:55 +00:00
|
|
|
"use_global_settings": true,
|
2020-09-08 21:18:42 +00:00
|
|
|
"host": "localhost",
|
|
|
|
"port": 25,
|
|
|
|
"username": "",
|
|
|
|
"use_tls": false,
|
|
|
|
"use_ssl": false,
|
|
|
|
"timeout": 10,
|
2020-12-05 21:08:42 +00:00
|
|
|
"from_address": "system@authentik.local",
|
2020-09-08 21:18:42 +00:00
|
|
|
"token_expiry": 30,
|
2020-12-05 21:08:42 +00:00
|
|
|
"subject": "authentik",
|
2021-10-04 16:47:51 +00:00
|
|
|
"template": "email/password_reset.html",
|
|
|
|
"activate_user_on_success": true
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"pk": "68b25ad5-318a-496e-95a7-cf4d94247f0d",
|
|
|
|
"name": "default-recovery-user-write"
|
2020-09-08 21:18:42 +00:00
|
|
|
},
|
2022-07-02 12:17:41 +00:00
|
|
|
"model": "authentik_stages_user_write.userwritestage",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"create_users_as_inactive": false,
|
|
|
|
"create_users_group": null,
|
|
|
|
"user_path_template": ""
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"pk": "94843ef6-28fe-4939-bd61-cd46bb34f1de",
|
|
|
|
"name": "default-recovery-identification"
|
|
|
|
},
|
|
|
|
"model": "authentik_stages_identification.identificationstage",
|
|
|
|
"attrs": {
|
|
|
|
"user_fields": [
|
|
|
|
"email",
|
|
|
|
"username"
|
|
|
|
],
|
|
|
|
"password_stage": null,
|
|
|
|
"case_insensitive_matching": true,
|
|
|
|
"show_matched_user": true,
|
|
|
|
"enrollment_flow": null,
|
|
|
|
"recovery_flow": null,
|
|
|
|
"passwordless_flow": null,
|
|
|
|
"sources": [],
|
|
|
|
"show_source_labels": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "e74230b2-82bc-4843-8b18-2c3a66a62d57",
|
2020-09-08 21:18:42 +00:00
|
|
|
"name": "default-recovery-user-login"
|
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_stages_user_login.userloginstage",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
2021-02-27 15:09:58 +00:00
|
|
|
"session_duration": "seconds=0"
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
2022-07-02 12:17:41 +00:00
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "fa2d8d65-1809-4dcc-bdc0-56266e0f7971",
|
|
|
|
"name": "Change your password"
|
|
|
|
},
|
|
|
|
"model": "authentik_stages_prompt.promptstage",
|
|
|
|
"attrs": {
|
|
|
|
"fields": [
|
|
|
|
"7db91ee8-4290-4e08-8d39-63f132402515",
|
|
|
|
"d30b5eb4-7787-4072-b1ba-65b46e928920"
|
|
|
|
],
|
|
|
|
"validation_policies": []
|
|
|
|
}
|
|
|
|
},
|
2020-09-08 21:18:42 +00:00
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "7af7558e-2196-4b9f-a08e-d38420b7cfbb",
|
|
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
2022-07-02 12:17:41 +00:00
|
|
|
"stage": "94843ef6-28fe-4939-bd61-cd46bb34f1de",
|
2021-08-23 15:39:19 +00:00
|
|
|
"order": 10
|
2020-09-08 21:18:42 +00:00
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_flows.flowstagebinding",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"evaluate_on_plan": true,
|
|
|
|
"re_evaluate_policies": true,
|
|
|
|
"policy_engine_mode": "any",
|
|
|
|
"invalid_response_action": "retry"
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "29446fd6-dd93-4e92-9830-2d81debad5ae",
|
|
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
2022-07-02 12:17:41 +00:00
|
|
|
"stage": "4ac5719f-32c0-441c-8a7e-33c5ea0db7da",
|
2021-08-23 15:39:19 +00:00
|
|
|
"order": 20
|
2020-09-08 21:18:42 +00:00
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_flows.flowstagebinding",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"evaluate_on_plan": true,
|
|
|
|
"re_evaluate_policies": true,
|
|
|
|
"policy_engine_mode": "any",
|
|
|
|
"invalid_response_action": "retry"
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "1219d06e-2c06-4c5b-a162-78e3959c6cf0",
|
|
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
2022-07-02 12:17:41 +00:00
|
|
|
"stage": "fa2d8d65-1809-4dcc-bdc0-56266e0f7971",
|
2021-08-23 15:39:19 +00:00
|
|
|
"order": 30
|
2020-09-08 21:18:42 +00:00
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_flows.flowstagebinding",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"evaluate_on_plan": true,
|
|
|
|
"re_evaluate_policies": false,
|
|
|
|
"policy_engine_mode": "any",
|
|
|
|
"invalid_response_action": "retry"
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "66de86ba-0707-46a0-8475-ff2e260d6935",
|
|
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
2022-07-02 12:17:41 +00:00
|
|
|
"stage": "68b25ad5-318a-496e-95a7-cf4d94247f0d",
|
2021-08-23 15:39:19 +00:00
|
|
|
"order": 40
|
2020-09-08 21:18:42 +00:00
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_flows.flowstagebinding",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"evaluate_on_plan": true,
|
|
|
|
"re_evaluate_policies": false,
|
|
|
|
"policy_engine_mode": "any",
|
|
|
|
"invalid_response_action": "retry"
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "9cec2334-d4a2-4895-a2b2-bc5ae4e9639a",
|
|
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
2022-07-02 12:17:41 +00:00
|
|
|
"stage": "e74230b2-82bc-4843-8b18-2c3a66a62d57",
|
2021-08-23 15:39:19 +00:00
|
|
|
"order": 100
|
2020-09-08 21:18:42 +00:00
|
|
|
},
|
2020-12-05 21:08:42 +00:00
|
|
|
"model": "authentik_flows.flowstagebinding",
|
2020-09-08 21:18:42 +00:00
|
|
|
"attrs": {
|
2022-07-02 12:17:41 +00:00
|
|
|
"evaluate_on_plan": true,
|
|
|
|
"re_evaluate_policies": false,
|
|
|
|
"policy_engine_mode": "any",
|
|
|
|
"invalid_response_action": "retry"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "95aad215-8729-4177-953d-41ffbe86239e",
|
|
|
|
"policy": "1c5709ae-1b3e-413a-a117-260ab509bf5c",
|
|
|
|
"target": "7af7558e-2196-4b9f-a08e-d38420b7cfbb",
|
|
|
|
"order": 0
|
|
|
|
},
|
|
|
|
"model": "authentik_policies.policybinding",
|
|
|
|
"attrs": {
|
|
|
|
"negate": false,
|
|
|
|
"enabled": true,
|
|
|
|
"timeout": 30
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"identifiers": {
|
|
|
|
"pk": "a5454cbc-d2e4-403a-84af-6af999990b12",
|
|
|
|
"policy": "1c5709ae-1b3e-413a-a117-260ab509bf5c",
|
|
|
|
"target": "29446fd6-dd93-4e92-9830-2d81debad5ae",
|
|
|
|
"order": 0
|
|
|
|
},
|
|
|
|
"model": "authentik_policies.policybinding",
|
|
|
|
"attrs": {
|
|
|
|
"negate": false,
|
|
|
|
"enabled": true,
|
|
|
|
"timeout": 30
|
2020-09-08 21:18:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|