2020-11-15 21:42:02 +00:00
---
title: Example Flows
---
2020-09-08 21:18:42 +00:00
2020-11-15 21:42:02 +00:00
:::info
2021-10-19 13:45:15 +00:00
You can apply these flows multiple times to stay updated, however this will discard all changes you've made.
2020-11-15 21:42:02 +00:00
:::
2020-09-08 21:18:42 +00:00
2021-09-23 06:34:40 +00:00
:::info
The example flows provided below will **override** the default flows, please review the contents of the example flow before importing and consider exporting the affected existing flows first.
:::
2020-09-08 21:18:42 +00:00
## Enrollment (2 Stage)
2022-07-31 15:11:44 +00:00
Flow: right-click [here ](/blueprints/example/flows-enrollment-2-stage.yaml ) and save the file.
2020-09-08 21:18:42 +00:00
Sign-up flow for new users, which prompts them for their username, email, password and name. No verification is done. Users are also immediately logged on after this flow.
## Enrollment with email verification
2022-07-31 15:11:44 +00:00
Flow: right-click [here ](/blueprints/example/flows-enrollment-email-verification.yaml ) and save the file.
2020-09-08 21:18:42 +00:00
Same flow as above, with an extra email verification stage.
You'll probably have to adjust the Email stage and set your connection details.
## Two-factor Login
2022-07-31 15:11:44 +00:00
Flow: right-click [here ](/blueprints/example/flows-login-2fa.yaml ) and save the file.
2020-09-08 21:18:42 +00:00
2022-08-29 12:14:10 +00:00
Login flow which follows the default pattern (username/email, then password), but also checks for the user's OTP token, if they have one configured.
You can force two-factor authentication by editing the *Not configured action* in the Authenticator Validation Stage.
2020-09-08 21:18:42 +00:00
## Login with conditional Captcha
2022-07-31 15:11:44 +00:00
Flow: right-click [here ](/blueprints/example/flows-login-conditional-captcha.yaml ) and save the file.
2020-09-08 21:18:42 +00:00
Login flow which conditionally shows the users a captcha, based on the reputation of their IP and Username.
2022-08-29 12:14:10 +00:00
By default, the captcha test keys are used. You can get a proper key [here ](https://www.google.com/recaptcha/intro/v3.html ).
2020-09-08 21:18:42 +00:00
## Recovery with email verification
2022-07-31 15:11:44 +00:00
Flow: right-click [here ](/blueprints/example/flows-recovery-email-verification.yaml ) and save the file.
2020-09-08 21:18:42 +00:00
Recovery flow, the user is sent an email after they've identified themselves. After they click on the link in the email, they are prompted for a new password and immediately logged on.
## User deletion
2022-07-31 15:11:44 +00:00
Flow: right-click [here ](/blueprints/example/flows-unenrollment.yaml ) and save the file.
2020-09-08 21:18:42 +00:00
2022-08-29 12:14:10 +00:00
Flow for users to delete their account.
2020-09-08 21:18:42 +00:00
2020-11-15 21:42:02 +00:00
:::warning
This is done without any warning.
:::