Email Login
How to import
In the Admin Console go to Workflows → New Workflow → From Template, select Email Login, and click Import.
Node Topology
How the Flow Works
- Entry: every request first hits Has Session.
- Already logged in: Has Session True routes directly to Success Final, bypassing the login form entirely.
- No session: Has Session False renders the Web Page (Email + Password inputs).
- Form submitted: the Web Page Output feeds into Auth, which verifies the email/password pair.
- Auth True: credentials valid; user is redirected to Success Final.
- Auth False: invalid credentials; the flow loops back to the Web Page so the error is surfaced inline on the same form.
- Failure Final is present on the canvas but has no incoming connections in the default template: wire it if you need a hard terminal failure path (e.g. from
accountlocked).
Nodes Used & Why
| Node | Role | Key config |
|---|---|---|
| Has Session | Skips login if the user already has an active session | No config needed |
| Web Page | Renders the login form container | Set Web Page Header to your app's login title |
| Email (child) | Collects the user's email address | Disable Email Only as Input to allow other identifiers |
| Password (child) | Captures the login password | Default type is login: no change needed |
| Auth | Verifies credentials and issues access token | Enable Auth Validation for statuses you want to handle explicitly |
| Success Final | Terminates on successful login | Set Redirect URL to your post-login destination |
| Failure Final | Not wired by default | Connect it when you need a terminal failure path |