Skip to main content

Required actions

authentik: 2026.11.0+Enterprise

Required actions are flows that a user must complete before they can continue to authentik or an application. Use them to make a user change their password, set up an authenticator, or accept updated terms.

How it works​

The goauthentik.io/user/required-actions attribute on a user defines their required actions. Its value can be a single flow slug or a list of flow slugs.

On the user's next request, authentik sends them to the first flow in the list. This includes sessions that are already logged in, so the user doesn't need to log in again for a new action to apply. Until every action is complete, the user can only run their required actions or log out, and API requests from their session are denied. API tokens and app passwords that the user already has keep working.

When the user completes a flow, authentik removes it from the attribute and moves on to the next one. After the last action, the user continues where they left off: authentik opens the page they requested, or resumes the flow they were in, such as a login or an application authorization.

If a listed flow doesn't exist or its policies deny the user, the user can't continue until the attribute is corrected or removed. An expired Enterprise license still enforces required actions. Without an Enterprise license, authentik ignores the attribute.

Choose a flow​

Required actions can't use flows with the Authentication or Invalidation designation, or flows that a logged-in user can't run, such as flows that require the user to be logged out. authentik's default flows cover changing the password (default-password-change) and setting up each authenticator type, for example default-authenticator-totp-setup. You can also create a flow to collect profile details or accept updated terms.

A required action must finish in its own flow. Don't use Redirect or Source stages in it: they send the user away before the flow completes, and authentik sends them straight back to the action.

Require an action for a user​

  1. Log in to authentik as an administrator and open the authentik Admin interface.
  2. Navigate to Directory > Users and click the name of the user.
  3. In the Required actions card, select a flow and click Add. The card lists the user's pending actions, and you can remove one with its trash icon.

You can also set the attribute yourself. Click Edit on the user page, expand Advanced settings, and add it to Attributes, keeping the user's other attributes:

goauthentik.io/user/required-actions:
- default-password-change

The attribute can also be set through the API, a blueprint, or a flow. For example: via a User Write stage in an enrollment flow. The API rejects flows that don't exist or can't be used as required actions.