Integrate with OAuth 2.0 framework for social login
When we integrate with the OAuth 2.0 framework, your shoppers can authenticate to your storefront with their social networking accounts, like Google, Facebook, and Twitter.
Overview
Shoppers expect a quick and effortless browsing experience while navigating the 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 the storefront, you elevate the shopper's need to create a new, dedicated account for the 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 the storefront then you implement social login.
- Shopper clicks the social login button; they are redirected to social networking URL for authentication.
- Shopper authenticates with social networking credentials.
- Access token is returned from social networking site; WebSphere Commerce store server validates token for authentication.
- 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 WebSphere Commerce database.
Benefits
- Most major social networking sites support OAuth 2.0 integration.
- Quick and effortless log in to the storefront.
- Validated emails. When a user logs in to the 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 the 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.
Implementing OAuth 2.0 for social login on the storefront
We can implement social login on the WebSphere Commerce storefront to enable users to log in to the store by using a social networking account, rather than using credentials dedicated to WebSphere Commerce.