This is an Enrollment Flow Wedge meant to replace the standard email verification method during an enrollment flow.
The standard email verification method sends an email containing a link which verifies that the user controls the email address and also resumes the enrollment flow. The EmailVerificationEnroller wedge sends the user an email containing a alphanumeric code which must be entered into the web browser to continue the existing enrollment flow. This has two advantages. First, the email template for the verification email can contain zero hyperlinks which sometimes cause recipient mail systems to classify the verification email as spam. Second, the enrollment flow remains in the current web browser session instead of stopping and resuming in a second session as with default email verification.
Install the plugin as you would any COmanage Registry plugin.
These instructions assume you already have an enrollment flow configured using the standard email verification method.
- Select "Configuration" from the left navigation column.
- Select "Message Templates".
- Click the "Add Message Template" link.
- Configure the Message Template.
- Enter a "Description" such as "Email verification via Code".
- Set "Message Context" to "Enrollment Flow Verification".
- Enter a "Message Subject" such as "Please verify your registration email".
- Set "Message Format" to "Plain Text and HTML".
- Enter "Message Body" blocks such as:
<p>Hello (@CO_PERSON),</p> <p>Here is your code:</p> <p style="margin-left:50px;font:bold 1.5em monospace">(@TOKEN)</p> <p>Please enter this code on the web page to continue the registration process.</p> <p>DO NOT CLOSE YOUR WEB BROWSER UNTIL THE REGISTRATION PROCESS IS COMPLETE.</p> <p>Thank you,</p> <p>Registry Team</p>
- Set "Status" to "Active".
- Click the "SAVE" button.
- Select "Configuration" from the left naviation column.
- Select "Enrollment Flows".
- Click the "Edit" button for the enrollment flow.
- Click the "Attach Enrollment Flow Wedges" link.
- Click the "Add Enrollment Flow Wedge" link.
- Configure the Enrollment Flow Wedge.
- Enter a description such as "Email Verification Using Code".
- Set the "Plugin" drop-down to "EmailVerificationEnroller".
- Set the "Status" to "Active".
- Set the "Order" to "1".
- Click the "ADD" button.
- Configure the newly added EmailVerificationEnroller Wedge.
- Set the "Verification Email Message Template" to the "Email verification via Code" template created earlier.
- The rest of the fields can be left untouched if you want to accept the default values, or you can change the values as you like.
- The default "Verification Code Set" does not contain
ambiguous characters (e.g. one
1
, uppercaseI
, lowercasel
), or vowels (to reduce the possibility of offensive words). The code set allows only uppercase letters and numbers. - The default "Verification Code Length" is 8, but can be configured to 4, 8, 12, 16, or 20. Hyphens will be added to the code every 4 characters for readability (but are not required to be entered by the user).
- The default "Verification Validity" is 480 minutes (8 hours), but can be set to any positive number.
- Click the "SAVE" button.
- Use the Breadcrumbs to navigate back to the Enrollment Flow.
- Reconfigure the Enrollment Flow as follows.
- Set "Email Confirmation Mode" to "None". The Wedge will be used instead.
- Remove any text in the "Confirmation Redirect URL" field. It is not used when the Wedge is active.
- Set the "Finalization Redirect URL" if desired.
- Click the "SAVE" button.
- Select "Configuration" from the left navigation column.
- Select "Localizations".
- Click "Add Localization".
- Configure the Localization.
- Set the "Key" to "pl.verification_request.verify.info".
- Set the "Language" to "en_US".
- Enter the "Text" such as:
DO NOT CLOSE YOUR BROWSER OR NAVIGATE AWAY FROM THIS PAGE. If you have problems, please <a target="_blank" href="https://identity.access-ci.org/help">Open a Help Ticket</a>.
- Click the "SAVE" button.
If your Enrollment Flow has an attached Organizational Identity Source which uses the "EnvSource" plugin, update the "Org Identity Mode" to "Authenticate". (See Enrollment Sources for more information.)
- Select "Configuration" from the left navigation column.
- Select "Enrollment Flows".
- Click the "Edit" button for the enrollment flow.
- Click the "Attach Org Identity Sources" link.
- Click the "Edit" button for the Enrollment Source.
- Set the "Org Identity Mode" to "Authenticate".
- Click the "SAVE" button.