Using Social Login to Register and Log In

Objective

After completing this lesson, you will be able to discover the Social Login features and manage the data permissions to implement social flows.

Social Login

In today's digital landscape, users are often overwhelmed with the need to create and remember numerous usernames and passwords for various online platforms. Social Login offers a seamless and user-friendly alternative, allowing individuals to register and log in to your site using their existing social media accounts. This not only enhances the user experience but also provides you with valuable, publicly available user data.

Registration dialog has links on the left to social network sites (Facebook, Twitter, LinkedIn, etc.) and a form to collect the user's email, name, and password for a normal site registration.

SAP Customer Data Cloud's Social Login is an authentication method that allows users to register and log into your site using their existing social network accounts on popular platforms like Facebook, Twitter, Google, Yahoo, LinkedIn, and more. The login is secure and straightforward, providing users with an easy way to use your site without needing to create and remember yet another password, permitting you to store their publicly available user data.

For implementation and various flows, refer to the Social Login documentation in the SAP Help Portal.

Social Logging Example

SAP Customer Data Cloud's plugins enable users to create accounts on your site using their social identities. These identities are managed and identified using login identifiers, which are, by default, the email addresses associated with the social account. When a user registers or logs in using a social account, SAP Customer Data Cloud checks for an existing account with the same email address. If one is found, the system assumes that the same user owns both accounts, and the two identities are linked into a single account. This helps ensure a unified user experience and prevents data fragmentation.

Four screenshots showing a Facebook-based social logging process, resulting in account Federation.

The above example shows the Social Login using a Facebook account.

Social Login Demo

Managing Permissions

Customer Data Cloud Permissions allow you to manage your general and social network permissions. Social network permissions can be categorized as basic or extended. Basic permissions are automatically available, while extended permissions require review and approval from the social network provider.

Screenshot of the Facebook Configuration screen on the left, and the CDC dialog for Facebook login, emphasizing that CDC will receive the customer's name, profile picture, and email address from Facebook.

Platforms like Facebook, Instagram, and LinkedIn require approval for extended data permissions. To obtain approval, you must undergo a submission process with each provider, demonstrating a clear use case for the requested data and explaining how it benefits the user experience on your website or application.

For more information refer to the Facebook Login Permissionsdocumentation in the SAP Help Portal.

Summary

  • Social Login allows users to register and log in using their existing social network accounts, enhancing user experience.
  • SAP Customer Data Cloud manages social identities using login identifiers, typically the email address associated with the social account.
  • The Socialize Web SDK provides functions to connect users to social networks, retrieve user information, and handle authentication.
  • Customer Data Cloud Permissions enable you to manage general and social network permissions, with extended permissions requiring approval from social network providers.