Summary of user services enhancements:

  1. Social login: Users can log in seamlessly using multiple social login accounts.
  2. Email verification flow to verify email ID before activating a user.
  3. User Bulk Import and Export now includes preferred language, activation state, and user groups.
  4. Dev API enhancement to include activation state and preferred language.
  5. Control Panel UI enhancement: The user groups can be updated through CP UI.


Social Login Enhancement

Context and current limitation

The platform allows users to sign in using email id and social media accounts like FB, Google, and Twitter.

There were limitations in this flow:

  • In Storefront, a user registered with username and password cannot sign-in using social media accounts without his profile password. Profile merging is a multi-step process that increases login friction.
  • In PWA and Dev APIs, a user had to sign in using the same mode every time i.e, a user with Email/Password can never sign in using google or FB accounts.

Enhancement

  1. The profile merging flow in storefront has been made optional through CP config. On Enabling the config, users can sign-in using any social media accounts without the profile merging flow and the necessity to remember the profile password. The config is available under Registration and other settings > Additional fields for Social Login.
  2. In PWA (Dev APIs) a user can seamlessly sign-in using any mode. The profile merging flow did not exist in Dev APIs. No config setting is available for this.

Reference: To know more about Social login, see Additional fields for social login.


Email Verification Flow

Email verification flow ensures that all customers register with a valid Email ID. 

User Flow

  • Customer registers on the platform.
  • Customer account is created but is inactive
  • A registration verification email is sent to the customer.
  • The customer clicks on the verification link and is redirected to the website.
  • The customer is automatically signed in and the account is activated.

Implementation

  1. Under Registration and other settings enable registration with verification.
  2. Update the registration verification mail template.

Reference: To know more about registration verification, see Registration settings.

Sample Template

<table cellspacing="0" cellpadding="0" border="0" summary="" style="border:1px solid #000; width:100%;font-family:Arial; size:1em; color:black;">    <tr style="background-color:#000000; color:#FFFFFF; font-weight:Normal;">    <td style="padding:5px 10px 5px 10px;"><font face="arial" size="4">Registration Details</font></td></tr>    <tr style="background-color:#FFF; color:#000;">    <td style="padding:5px 10px 5px 10px;"><font face="arial" size="2">Dear <b>@Martjack.User.FullName</font>,</b><br /><br />        <font face="arial" size="2">Welcome to <a id='lnksiteUrl' target='_blank' href='@Martjack.User.martjackContext.MerchantENT.SiteUrl' style='text-decoration:none'>@Martjack.User.martjackContext.MerchantENT.SiteUrl</a> Thank you for registering with us.</font><br />       </td></tr>            <tr><td style="padding:5px 10px 5px 10px;"><font face="arial" size="2">            @if(Martjack.User.resetId != Guid.Empty){<p>Please use the below link to activate your profile.</p> <a href='@Martjack.User.UserActivationLink'>@Martjack.User.UserActivationLink</a><br /><br />}</font></td></tr></table>
Registration Details
Dear test 123,

Welcome to Biba Martjack. Thank you for registering with us.
Please use the below link to activate your profile. 
https://www.biba.martjack.com/Registration/UserActivation.aspx?resetid=9d3740b4-940e-4d8f-b263-35b01f24688b

Reference: To know more about the verification email template, see Send mail to end-user


Bulk Import/Export

User bulk import is used to update user profile information. Enhancements made in the bulk module:

  1. User groups: Users can be assigned to any number of existing groups using bulk actions. [Note: User can be assigned to existing user groups only].
  2. User Activation: User can be activated/inactivated.
  3. Preferred language can be updated.
  4. Custom Profile Attributes: These can be updated and deleted using bulk actions now. [Note: When the column is not available in the import the custom profile field will not be updated].
  5. Source of registration is available [Note: This field cannot be updated].

Reference: To know more about bulk import/export, see Bulk user upload.


Dev API Enhancement

Get Customer Details & Get All Customers is Activated and Preferred language fields have been added.

Update Customer Details and Create Customer Account: Preferred language field has been added.


Control Panel UI Enhancements

Customer details page has been updated to include:

  1. Preferred Language
  2. Source of Registration
  3. User Group Information: User can be added and removed from a group

Reference: To know more about add a customer to a user group, see User group.


Future Enhancements

Mobile OTP login for the storefront is currently under development and is expected to be released in the coming sprint.