website/docs: add usage for invitation stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
8bb57a1283
commit
c9fe28dad7
|
@ -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`.
|
||||||
|
|
Reference in New Issue