loading
Preparing LoginRadius developer resources
Mission: Help enterprises accelerate digital transformation with our fully-managed Customer IAM technology.
Skip to main content

Registration

Captures email and password, checks whether the account already exists, and creates the user profile if it does not. If the user already exists the form is shown again with an inline error.
Registration

How to import

In the Admin Console go to Workflows → New Workflow → From Template, select Registration, and click Import.

Node Topology

User EntersRegistrationEmailPasswordOutputUser ExistsTrueFalseCreate UserTrueFalseSuccessFailureTrue — already exists (error shown inline)

How the Flow Works

  1. Entry: The flow begins at the Web Page (Registration form with Email + Password).
  2. Form submitted: the Web Page Output feeds into User Exists, which checks whether the email is already registered.
  3. User Exists True: account already registered; the flow loops back to the Web Page so the error is surfaced inline on the same form.
  4. User Exists False: no existing account; the flow proceeds to Create User.
  5. Create User True: profile created successfully; user is redirected to Success Final.
  6. Create User False: creation failed (e.g. blocked email, policy violation); user is sent to Failure Final.

Nodes Used & Why

NodeRoleKey config
Web PageRenders the registration formSet Web Page Header and Submit Button Text
Email (child)Collects the email addressEnable Validate MX Record to block disposable addresses
Password (child)Captures the new passwordEnable Confirm Password for registration flows
User ExistsPrevents duplicate account creationTrue loops back to the form: error shown inline
Create UserPersists the new identity profileWire error 4021 (blocked email) if you need a dedicated error page
Success FinalTerminates on successful registrationSet Redirect URL to your post-registration destination
Failure FinalTerminates on a creation errorSet Redirect URL to a generic error page

Key Design Decisions

USER EXISTS TRUE MUST LOOP BACK TO THE WEB PAGE
Looping back keeps the user on the same form so the duplicate-email error is surfaced inline: the user can correct their email without losing any other input. Routing True to Failure Final instead gives no recovery path.
User Exists (true) → Failure Final  (dead end, no recovery)
User Exists (true) → Web Page  (inline "already registered" error)
SKIPPING USER EXISTS AND GOING DIRECTLY TO CREATE USER
Without User Exists, an existing email will hit Create User, receive a duplicate-account error, and surface as an unhandled failure rather than a clean inline message. Always check existence before attempting creation.
Web Page Output → Create User
Web Page Output → User Exists → (true: loop to form  |  false: Create User)
WIRE CREATE USER NAMED ERROR EDGES FOR POLICY VIOLATIONS
Unhandled errors on Create User fall through to false → Failure Final. For errors where the user can take action, route to a dedicated page instead.
4021Email on block listRoute to a dedicated blocked-email error page
4110Required field missingReturn to Web Page with a validation message