website/docs: add usage for invitation stage

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-07-31 14:14:10 +02:00
parent 8bb57a1283
commit c9fe28dad7
1 changed files with 2 additions and 0 deletions

View File

@ -7,3 +7,5 @@ This stage can be used to invite users. You can use this to enroll users with pr
If the option `Continue Flow without Invitation` is enabled, this stage will continue even when no invitation token is present. If the option `Continue Flow without Invitation` is enabled, this stage will continue even when no invitation token is present.
To check if a user has used an invitation within a policy, you can check `request.context.invitation_in_effect`. To check if a user has used an invitation within a policy, you can check `request.context.invitation_in_effect`.
To use an invitation, use the URL `https://authentik.tld/if/flow/your-enrollment-flow/?token=invitation-token`.