Integrating with OAuth 2.0 framework for social login

When you integrate with the OAuth 2.0 framework, your shoppers can authenticate to your storefront with their social networking accounts, like Google, Facebook, and Twitter.


Shoppers expect a quick and effortless browsing experience while navigating your storefront. The account creation process, with its plethora of required fields, can be a hindrance to the ideal shopping experience. By implementing social login on your storefront, you elevate the shopper's need to create a new, dedicated account for your storefront. Instead, a shopper can simply log in to your store with their social networking account and continue browsing at will.

The following is an example of the shopper's interaction with your storefront then you implement social login.
  1. Shopper clicks the social login button; they are redirected to social networking URL for authentication.
  2. Shopper authenticates with social networking credentials.
  3. Access token is returned from social networking site; HCL Commerce store server validates token for authentication.
  4. Shopper is successfully logged in and continues browsing. If this is the initial log in, basic user information, like email and name, are store in the HCL Commerce database.


  • Most major social networking sites support OAuth 2.0 integration.
  • Quick and effortless log in to your storefront.
  • Validated emails. When a user logs in to your storefront with their social networking account, the social networking site provides a validated email.
  • Up-to-date user profiles. A shopper is more likely to keep their social networking accounts up-to-date than an account that is dedicated to your storefront alone.
  • More detailed user accounts. A social networking account is likely to contain more details about your shopper, making it easier to build personalized marketing strategies.