mirror of
https://github.com/goauthentik/authentik
synced 2026-04-27 18:07:15 +02:00
stage/invitation: Send invite via email UI (#19823)
* first approach * add cc and bcc support, better ui * remove unnecessary data return * add template support * fix linting * do the ui Signed-off-by: Jens Langhammer <jens@goauthentik.io> * display invite info in InvitationSendEmailForm.ts * Select the invitation template by default * Fix linting * fix tests * Add tests, clean code * Add docs * fix link * Make the UI less disgusting * Make the UI less disgusting * Apply suggestions from code review Co-authored-by: Dewi Roberts <dewi@goauthentik.io> Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> * small formatting fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * Use writeToClipboard function, better wording for CC and BCC --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Dewi Roberts <dewi@goauthentik.io>
This commit is contained in:
committed by
GitHub
parent
c205a41cb5
commit
b76539e73f
@@ -118,6 +118,10 @@ Configure the following settings:
|
||||
|
||||
On the **Invitations** page, click the chevron beside your new invitation to expand the details. The **Link to use the invitation** displays with the URL.
|
||||
|
||||
You can share the invitation in two ways:
|
||||
|
||||
#### Option 1: Copy the link manually
|
||||
|
||||
Copy the URL and send it in an email to the people you want to invite to enroll.
|
||||
|
||||
The invitation link format is:
|
||||
@@ -126,6 +130,24 @@ The invitation link format is:
|
||||
https://authentik.company/if/flow/<flow-slug>/?itoken=<invitation-uuid>
|
||||
```
|
||||
|
||||
#### Option 2: Send an invitation email directly from authentik
|
||||
|
||||
Follow the steps below to send invitation emails directly from authentik:
|
||||
|
||||
1. On the **Invitations** page, click the chevron beside your invitation to expand the details.
|
||||
2. Click **Send via Email** and configure the following settings:
|
||||
- **To**: Enter the email addresses of the recipients. You can enter multiple addresses, one per line, or separated by commas or semicolons. Each recipient will receive a separate email with the invitation link.
|
||||
- **CC**: (_optional_) Enter the email addresses to carbon copy.
|
||||
- **BCC**: (_optional_) Enter the email addresses to blind carbon copy.
|
||||
- **Template**: Select the email template to use. The default `Invitation` template is recommended.
|
||||
3. Click **Send**.
|
||||
|
||||
The emails are queued and sent asynchronously by the background worker. Each recipient receives an email containing the invitation link.
|
||||
|
||||
:::note Email configuration required
|
||||
To use this feature, you must have email configured in authentik, refer to the [Email configuration](../../install-config/email.mdx) documentation for details.
|
||||
:::
|
||||
|
||||
## Manual setup (without blueprints)
|
||||
|
||||
If you prefer to create your invitation flow manually instead of using a blueprint, follow these steps:
|
||||
|
||||
Reference in New Issue
Block a user