Social authentication

Social login, Multi-Provider, Automatic registration, Visual Builder lock, Session management, Customer account creation

Description: Allows your users to log in or register on your website using the credentials from their social accounts (such as Google, Facebook, or Apple), simplifying and speeding up the login process.

What is it for? (Practical examples)

  • Speeding up access: Enables customers to log in with a single click, without having to remember new passwords specific to your site.
  • Increasing registrations: Reduces friction in the signup process, leading to a higher number of registered users since they don't have to fill out lengthy forms.
  • Collecting verified data: Automatically obtains verified user data (such as name and email) directly from the social provider, improving the quality of the customer database.

Main features

  • Multi-Provider Support: Supports authentication through major social services (including Google, Facebook, Twitter, GitHub, and Apple).
  • Dedicated Visual Builder Block: A specific block is available in the Visual Builder that allows you to easily insert social login buttons on any page (such as the login page or checkout).
  • Automatic Registration: If a user logs in via social for the first time, the system automatically creates a new customer account using the data provided by the provider.
  • Session Management: After a successful login, the user is automatically redirected to the originating page or a reserved area (such as User Area).

How to configure

Basic configuration requires obtaining access keys (ID and Secret) provided by the chosen social provider.

1. Access Settings: Go to the "Settings" section of the "Social Authentication" module.

2. Activate Provider: Find the social network you want to activate (e.g., Google) and click the Activate button.

3. Enter Credentials: Enter the access keys (such as ID and Secret/Key) obtained by configuring the application on the social provider's portal.

4. Redirect URL (Callback URL): The system will provide a specific URL (e.g., https://yourdomain.com/m/socialAuth/google). It is essential to copy this URL and paste it into your application's settings on the social provider’s portal to authorize redirection.

5. Save: Make sure to save the settings to activate the provider.

Automatic integrations

Customer Management

When a user logs in via social:

  • Account Creation: If the email is not already present in the system, a new customer account is created, populated with first name, last name, and email provided by the social network.
  • Avatar Assignment: If the social provider supplies a profile picture, it is automatically set as avatar for the new customer.

Marketing List Subscription

When inserting the social login button on a page via Visual Builder, additional options can be configured:

  • Newsletter List Subscription: You can select one or more marketing lists. Users registering through that button will be automatically subscribed to selected lists.

API and Mobile App Integration

The module supports authentication via API. After successful social login (using a token provided by the provider), the system generates a dedicated secure access token. This token can be used to keep user sessions active on external applications or mobile apps.