Multi-step user registration

This article illustrates how a multi-step user registration experience can be created by using the flow designer. This is a typical Consumer Identity and Access Management (CIAM) use case, where the registration process is segregated in multiple steps to keep the user engaged.

Overview of the flow

The flow includes the following steps:

  1. Ask the user to provide an email and also use the email as the username.
  2. Ask the user to verify their email with an Email-OTP.
  3. Ask the user to provide a phone number.
  4. Ask the user to provide a password.
  5. Create a user profile.
  6. Redirect the user to login.
3703

Prerequisites

  1. IBM Security Verify tenant
  2. Flow designer must be enabled in your tenant
  3. User forms must be enabled in your tenant

Configuring the flow forms

Create the appropriate user forms

Create the user forms that are to be used for orchestrating the end-to-end registration experience. In this case, three user forms must be created.

📘

Note

This guide only demonstrates the creation of 3 forms with specific fields. Additional attributes and additional forms can be created and connected to expand the attribute collection and steps in the desired registration flow. This can be done by introducing additional elements in the form builder.

Email capture and verification form

  1. When logged in as administrator in the IBM Security Verify, navigate to "User experience".

  2. Under "User experience", select "User forms" > "Create form".

  3. Enter a form name. For example, "Email". You may modify other settings, such as the Primary language, Session management, Theme and Human verification.

    1224
  4. Click "Start building form".

  5. Click the "Email address" element in the form to set the proper settings in the "Form element editor" panel.

  6. Switch on the "Account username" and "Verify email" toggle button.

    1224
  7. Click "Save changes" and "Publish".

    1224

📘

Note

The other settings such as branding, text displayed in Email OTP verification, attribute field text, and more can be customised in any user form.

Phone capture and verification form

  1. Navigate to "User experience" and select "User forms" > "Create form" to create a new form.

  2. Enter a form name. For example, "Phone".

    1224
  3. Click "Start building form".

  4. Click the "Email address" element in the form to change the element to Phone number.

  5. In the "Form element editor" panel, select "Phone" from the "Form element" drop down.

    1224
  6. Specify the "User attribute" to be "mobile_number". Note: Phone number verification is disabled due to the need for having SMS quota on the tenant. Trial tenants by default do not have SMS quota. SMS quota can be requested by contacting an IBM Security sales rep or asking within the trial for help. Once SMS quota is added to the tenant, being able to verify a phone number is possible with a Voice or SMS OTP.

    1224
  7. Click "Save changes" and "Publish".

    1224

With this, you have now created the second of three forms needed.

Password creation form

  1. Navigate to "User experience" and select "User forms" > "Create form" to create a new form.

  2. Enter a form name. For example, "Password".

    1224
  3. Click "Start building form".

  4. Click the "Email address" element in the form to change the element to Password.

  5. In the "Form element editor" panel, select "Account password" from the "Form element" drop down.

    1224
  6. Click "Save changes" and "Publish".

    1224

With this, you have now created the third of three forms needed.

At this point, there should be three published forms in the "User forms" listing.

1224

Orchestrating the flow

After all the necessary forms are created, the next step is to join the forms together in an end-to-end registration experience.

  1. Navigate to "Flow designer" under "User experience" and selct "Create flow"

  2. Enter the corresponding flow name, for example "simple multi step registration". Create the flow.

    1224
  3. A blank canvas with a circle appears. This is the "Start" node needed to start the flow.

    1224
  4. Click the "User form" task.

    928
  5. Click "Add to canvas" and exit out of the "User form" side panel.

  6. Select the "User form" on the canvas that was added. Name it appropriately and ensure the "Form" is "Email". In the "Signal" section, enter "form1".

    1224
  7. Navigate to "Decision points" to configure the next step of the flow.

    640
  8. Click "Message event" and "Add to canvas". Exit out of the "Message event" side panel. Note: a Message event is a signal to the flow to move to the next step.

    1224
  9. Click the "Email form" node. A blue arrow appears on the top-right of the node. Connect that arrow to the newly added "Message event".

    3373
  10. Click the "Message event" and enter the message Name and Message. For example, enter "form1" for both. Note: The "Message" text must be same as that entered in step 6 in the "Signal".

    1224
  11. Navigate to "Tasks" and add a new "User form". This is similar to what was done in step 4.

  12. Connect the "form1" Message to the newly added "User form" on the canvas.

    4074
  13. Select the newly added "User form". Name it appropriately and ensure the "Form" is "Phone". In the "Signal" section, enter "form2".

    1224
  14. Navigate to "Decision points" to add a new "Message event" as described in steps 7 and 8.

  15. Click the "Phone form" node. A blue arrow appears on the top-right of the node. Connect that arrow to the newly added "Message event". This is similar to step 9.

  16. Click the "Message event" and enter the message Name and Message. For example, enter "form2" for both. Note: The "Message" text must be same as that entered in step 13 in the "Signal".

    1224
  17. Navigate to "Tasks" and add a new "User form". This is similar to what was done in step 4.

  18. Connect the "form2" Message to the newly added "User form" on the canvas.

  19. Select the newly added "User form". Name it appropriately and ensure the "Form" is "Password". In the "Signal" section, enter "form3".

    1224
  20. Navigate to "Decision points" to add a new "Message event" as described in steps 7 and 8.

  21. Click the "Phone form" node. A blue arrow appears on the top-right of the node. Connect that arrow to the newly added "Message event". This is similar to step 9.

  22. Click the "Message event" and enter the message Name and Message. For example, enter "form3" for both. Note: The "Message" text must be same as that entered in step 19 in the "Signal".

    1224
  23. Navigate to "Tasks" and add the "Create user" task to the canvas. This task creates a user in IBM Security Verify's cloud directory once the registration process is complete.

    1224
  24. Connect the "form3" Message to the "Create user" task.

    1224
  25. Navigate to "Tasks" and add the "Redirect" task to the canvas. This task redirects the user to login once the account is created.

    1064
  26. Connect the "Create user" task to the "Redirect" task.

  27. Select the newly added "Redirect" task. Name it appropriately. In the URL, enter the Verify tenant URL so that after the user account is created, the user is re-directed to login.

    1224
  28. Navigate to "Decision points" to complete the flow by adding the "End event".

    836
  29. Connect the "Redirect" task with the "End event" decision point. The flow is now created end to end.

    1224
  30. Click "Save changes" and "Publish".

  31. Navigate to "General" tab within "Flow designer" and copy the "Execution URL". The "Execution URL" triggers the multi-step user registration flow.

    1224
  32. Paste the "Execution URL" in an incognito browser tab. Use a personal email and proceed to complete the flow.

Additional risk and fraud orchestration

To add additional risk and fraud orchestration many things can be set on the tenant. For example, purposely two things can be easily added.

  1. Enable password intelligence to ensure users that create accounts do not use common, phished, or stolen credentials.
  2. Enable MFA on the login to ensure users are required to complete an MFA on first login. An access policy can be created and applied.
  3. Recaptcha for human verification can be configured in a user form.

The wrap

This flow describes how you can easily create a multi-step user registration journey using User forms and Flow designer. This end to end creation of the user journey required no coding and was as simple as dragging, defining, and dropping the appropriate artifacts within the IBM Security Verify platform.