Type identifier:
auth:magic-link:generateCategory: Auth Operations
The Auth - Magic Link Generate node creates a secure, single-use authentication link that users can click to log in without a password. The link is typically sent via email and expires after a configurable period.
Handle | Type | Description |
|---|---|---|
| control | Triggers link generation. |
|
| The ID of the Space Identity that will log in with this link. |
|
| (Dynamic) Timeout in minutes. Appears only when Timeout is set to dynamic. |
Handle | Type | Description |
|---|---|---|
|
| The generated magic link URL. |
| control | Triggered when link is generated. |
| control | Triggered when generation fails. |
Option | Type | Default | Description |
|---|---|---|---|
Space Authentication Strategy |
| - | The authentication strategy to use. If not set, a magic link strategy in the Space is used. |
Override Success Experience |
| - | Custom Experience to redirect to after login. |
Timeout |
|
| Time to live in minutes, configurable as a literal value or dynamic input. Values outside 1 to 2880 minutes cause the node to fail. |
Selects which authentication strategy configuration to use:
Optionally redirect users to a specific Experience after successful authentication, overriding the Authentication Strategy's default.
Controls how long the generated magic link remains valid.
error pathtrigger and spaceIdentityIdmagicLink and triggers successThe node triggers error instead when no magic link strategy is available in the Space, when no verified domain or Space name is available to build the link, when spaceIdentityId is not a valid ID, or when the timeout is invalid.
Generated links follow this structure:
https://<domain>/__auth/ml?t=<token>Flow:
Configuration:
dashboardexperienceidUse case: Direct users to a specific page after authentication.
Flow: