Social Sign-On, also known as Social Authentication or Social Login, is a user authentication mechanism that allows individuals to access a website, application, or service by using their existing social media or identity provider credentials instead of creating a new account-specific username and password.

In this tutorial today, we will dive into understanding what Social Sign-On in Salesforce is, how it works, and how to implement it. So, let’s get started

Understanding Social Sign-Ons in Salesforce

In Social Sign-On, users can log in or register for a service by clicking on a social media platform’s icon (e.g., Facebook, Google, LinkedIn) and granting permission for the service to access certain information from their social media profile. Once permission is granted, the user is granted access to the service without the need to enter a separate username and password.

Some users prefer to use an existing account with a service such as Google or Facebook to log in to the site instead of setting up a new account and password. The third-party service is an authentication provider that verifies user identification. Use the Social Login component to add an icon for each supported authentication provider. The user clicks the icon and logs in using the associated account’s username and password. To enable customers to log in to Salesforce with their social credentials, you configure an authentication (auth) provider for the social account. 

Here’s what your customer experiences when you do.

  •  A customer encounters a Salesforce login page with options to log in via Google,
    Facebook, and Twitter, as well as a username and password.          
  •  The customer chooses to log in via Gmail credentials. 
  • Salesforce redirects the customer to Gmail.
  • The customer logs in to Gmail. 
  • Automatic Gmail logging to Salesforce automatically because Salesforce trusts Gmail’s verification.

Why To Implement Social Sign-On in Salesforce?

Before we dive into the technical aspects, let’s explore why implementing Social Sign-On in your Salesforce instance is a smart move:

  • Enhanced User Experience: Social Sign-On eliminates the need for users to remember yet another username and password for Salesforce. This streamlined login process significantly enhances user experience, reduces frustration, and increases user engagement.
  • Accelerated Onboarding: New users can quickly sign up and access Salesforce using their existing social media accounts. This can speed up the onboarding process for customers, partners, and employees.
  • Improved Security: While using social media credentials may raise some security concerns, many social networks implement robust security measures. Additionally, Salesforce can be configured to enforce strict security policies, making Social Sign-On a secure option.
  • Data Enrichment: Social Sign-On can fetch additional user data from their social profiles, enriching the information available in Salesforce. This data can be used for personalization, targeted marketing, and a better understanding of your users.

Implementing Social Sign-On in Salesforce

STEP 1: GO to  SETUP and then search AUTH. PROVIDERS in the quick find box.

STEP 2: Click On AUTH. PROVIDERS, there will be a new window where we have to Select the type of PROVIDERS we want. For instance, let’s consider gmail.


STEP 3:
After selecting AUTH. PROVIDERS there will be more fields to fill up

STEP 4: Write down the Name.

STEP 5: URL SUFFIX will automatically take the name as its entry.

STEP 6: Create an AUTO-GENERATED REGISTRATION CLASS or you can create one.

Here we have generated an AutocreatedRegHandler1692605085793 with some modifications in it.

STEP 7: Write your name from users in Execute Registration As.

STEP 8: You can select the Icon URL from the available icon list

STEP 9: Now Click On Save button.

STEP 10: Now Paste the  Test-Only Initialization URL in the Private window. It will show the following info:

 

 

STEP 11: Again go to QUICK FIND BOX and then Search MY DOMAIN.

 

STEP 12: Now edit the My Domain Details.

 

STEP 13: Now click on  Check Availability whether the Domain Is available or not.

 

STEP 14: Click on the Save Button.

STEP 15: Now go to  Authentication Configuration and Edit it.

STEP 16: Go To Authentication Service and Mark Google in it.

 

STEP 17: Click on Save Button.

STEP 18: Now Click on Current My Domain URL and copy it.

 

STEP 19: Now Paste this URL in Private Window.

STEP 20: The output will look like this:

 

STEP 21: Hence You can log into Salesforce Via Gmail Credentials.

Conclusion

We hope you find the solution helpful. Be sure to try out the solution and share your suggestions with us. And for more such interesting tutorials, stay tuned!

Share This Blog
Related Articles

Salesforce CPQ (Configure, Price, Quote) is a powerful tool that enables businesses to streamline their quoting process by providing advanced configuration options. Among its many features, Multi-Dimensional Quoting (MDQ) stands out as a powerful capability that allows sales teams to create more detailed and flexible quotes for complex products. In this blog, we’ll dive into […]

Read More
Dynamic Search Filters in Salesforce CPQ

Salesforce CPQ (Configure, Price, Quote) is a powerful tool that allows sales teams to generate quotes with speed and accuracy. One of the key features that makes CPQ so flexible is its dynamic search filter capability. In this blog, we’ll explore how you can create dynamic search filters in Salesforce CPQ to make your quoting […]

Read More
How to Create Quote Templates Customization Methods

The objective after completing a quote is usually to produce a precise and expert quote document for clients. However, without the proper procedures in place, quoting can be difficult, error-prone, and time-consuming. Salesforce CPQ (Configure, Price, Quote) streamlines the process and improves quote accuracy by assisting with the setup and administration of quotation papers. By […]

Read More
Boost Performance with a Robust Trigger Framework in Salesforce

Boost Performance with a Robust Trigger Framework in Salesforce If you want to make sure of scalability and performance in the Salesforce development, managing Apex triggers is a must. With a trigger framework, you get a structured approach to organizing and maintaining trigger logic. This way, developers can follow the best practices while maintaining the […]

Read More

When it comes to Salesforce development, efficiently managing and deploying metadata is important to maintain streamlined operations. With the help of Unlocked Package, you can easily achieve this. It is specially designed for business’s internal use and allows businesses to develop and manage modular applications. This blog will walk you through the importance of Unlocked […]

Read More
How Salesforce Data Cloud Streamlines Data Management

The Data Cloud integrates your company’s data onto Salesforce’s Einstein 1 Platform. It provides each team with a comprehensive customer view for a better experience. The Data Cloud consolidates disparate data sources into a unified model, facilitating easy access and comprehension. It encompasses various data types such as web engagement and more from both internal […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818