Stages
Stages are one of the fundamental building blocks in authentik, along with flows and policies.
A stage represents a single verification or logic step within a flow. You can bind one or more stages to a flow to create a customized, flexible login and authentication process.
In the following diagram of the default-authentication-flow
, you see multiple stages, or steps, in the authentication process for a user. Policies are bound to some stages; this provides for dynamic application of a specific stage if the policy criteria is met.
Create a Stage
To create a stage, follow these steps:
- Log in as an admin to authentik, and go to the Admin interface.
- In the Admin interface, navigate to Flows and Stages -> Stages.
- Click Create, define the flow using the configuration settings, and then click Finish.
After creating the stage, you can then bind the stage to a flow or bind a policy to the stage (the policy determines whether or not the stage will be implemented in the flow).
Bind a stage to a flow
To bind a stage to a flow, follow these steps:
- Log in as an admin to authentik, and go to the Admin interface.
- In the Admin interface, navigate to Flows and Stages -> Flows.
- In the list of flows, click the name of the flow to which you want to bind one or more stages.
- On the Flow page, click the Stage Bindings tab at the top.
- Here, you can decide if you want to create a new stage and bind it to the flow (Create and bind Stage), or if you want to select an existing stage and bind it to the flow (Bind existing stage).