# Social Login

> Let shoppers sign in and check out with Google, Apple, Facebook, Microsoft and 14 more providers, on Luma and Hyvä.

Shoppers sign in or create an account with a provider they already use, such as Google, Apple, Facebook, Microsoft and 14 more, instead of inventing yet another password, and a guest who signs in at checkout goes straight back to their order with the same cart.

**Latest version:** 1.4.0 — [changelog](https://docs.qoliber.com/docs/extensions/marketing/social-login/changelog)

![The Quick Login buttons on the Luma login page](https://docs.qoliber.com/images/extensions/social-login/frontend-login-buttons.png)

## Who it's for

- Stores losing sign-ups at the registration form: one click at a provider replaces the whole form, and the account is created from the provider's profile.
- Stores with many guest checkouts: the buttons sit above the checkout for guests, and signing in keeps their cart.
- Stores on Hyvä as well as Luma: a dedicated Hyvä module ships templates that build with Hyvä 1.3 (Tailwind 3) and Hyvä 1.4 / 1.5 (Tailwind 4).
- Multi-website installations: a provider account is linked per website, so signing in on one website never opens a customer account on another.

## Why it matters

- **Fewer abandoned sign-ups**: creating an account takes one click at the provider instead of a form.
- **Fewer lost checkouts**: a guest who signs in at checkout returns to the checkout with their cart, whatever your post-login redirect is set to.
- **Less support load**: customers who forgot which password they used sign in with the provider, and existing customers connect a provider to the account they already have.
- **Data you choose to keep**: birthday, gender and the profile photo address are only kept when you switch them on; everything else the provider sends beyond what sign-in needs is discarded.
- **Credentials kept secret**: every provider secret, Apple's private key included, is only ever shown masked in the admin, is stored encrypted, and stays out of `app/etc/config.php`, the configuration file stores commit to their code repository.
- **Consent kept**: ticking "Subscribe to our newsletter" while confirming a social sign-up subscribes the customer.

## See it in action

- **You set:** Google enabled, with the client ID and secret from Google Cloud Console, and the Redirect URI the admin shows you registered with Google. **You get:** a Google button on the login, registration and checkout pages and, with One Tap left on, Google's One Tap prompt on storefront pages, which stay fully cacheable.

  ![The Google group in the admin: where the client ID and secret go, One Tap, and the Redirect URI to register](https://docs.qoliber.com/images/extensions/social-login/config-qoliber_social_login-google.png)

- **You set:** Enable on Checkout = Yes. **You get:** a guest with items in the cart sees the buttons above the checkout, signs up with a provider, and lands back on the checkout with the same cart.

  ![The sign-in buttons above the Luma checkout's Shipping step](https://docs.qoliber.com/images/extensions/social-login/frontend-checkout-social-signin.png)

- **You set:** Auto-Approve New Accounts = No. **You get:** new customers check their name on a confirmation form, with a "Subscribe to our newsletter" box, before the account is created.

  ![The sign-up confirmation form on Hyvä, with the newsletter box](https://docs.qoliber.com/images/extensions/social-login/hyva-social-confirm-newsletter.png)

- **You set:** nothing. **You get:** signed-in customers find **Connected Social Accounts** on their account dashboard, connect another provider, or disconnect one after a confirmation, which also revokes the token at Google, GitHub, GitLab, Discord, Slack or Reddit.

  ![Connected Social Accounts on the Luma account dashboard](https://docs.qoliber.com/images/extensions/social-login/frontend-connected-accounts.png)

- **You set:** a self-hosted GitLab, with GitLab Instance URL `https://gitlab.yourcompany.com`. **You get:** a GitLab button that signs customers in against your own GitLab instead of gitlab.com.

| Feature | Benefit |
|---|---|
| [Set up sign-in providers](https://docs.qoliber.com/docs/extensions/marketing/social-login/usage/set-up-providers) | Offer the accounts your customers actually have: Amazon, Apple, Bitbucket, Discord, Facebook, GitHub, GitLab, Google, LINE, LinkedIn, Microsoft, PayPal, Pinterest, Reddit, Slack, TikTok, Twitch and X. Each is set up once, with the exact Redirect URI shown for every store view. |
| [Sign-in buttons and redirects](https://docs.qoliber.com/docs/extensions/marketing/social-login/usage/sign-in-buttons) | Buttons that match your store's look, and customers sent where it suits you: their account, the home page, the page they came from or your own URL. |
| [New accounts and account linking](https://docs.qoliber.com/docs/extensions/marketing/social-login/usage/new-accounts) | Accounts created in one step or after a confirmation with newsletter consent, and existing customers recognised by their verified email instead of getting a duplicate account. |
| [Sign-in at checkout](https://docs.qoliber.com/docs/extensions/marketing/social-login/usage/checkout-sign-in) | Guests sign in without leaving the order they are placing, and keep their cart. |
| [Connected social accounts](https://docs.qoliber.com/docs/extensions/marketing/social-login/usage/connected-accounts) | Customers add and remove providers themselves, with nothing for you to maintain. |
| [Profile data and token clean-up](https://docs.qoliber.com/docs/extensions/marketing/social-login/usage/customer-data) | Keep only the profile details you need, and expired provider tokens are cleared every night. |
| Google One Tap | Returning Google users sign in from any page with one tap. |
| Facebook data deletion callback | Meet Meta's requirement: a person's Facebook data is deleted when they remove your app, and they get a confirmation code. |

## Competing solutions

The right-hand column describes common practice on the extension market, not any particular vendor.

| | Qoliber | Typical marketplace extension |
|---|---|---|
| GitLab access | Full access to every module's GitLab repository: source, history, issues and merge requests | Varies by vendor |
| Packagist installation | Installed and updated with Composer from our private Packagist (`qoliber.repo.packagist.com`) | Varies by vendor |
| Slack access to the development team | A shared Slack channel with the developers who build and maintain the module | Usually ticket-based |
| Unit tests | 581 PHPUnit unit tests (113 classes) in the repository | Not typically published |
| Integration tests | 68 Magento integration tests (15 classes), run before every release | Not typically published |
| E2E Playwright tests | 39 Playwright end-to-end tests on Luma and Hyvä (15 spec files), run before every release | Not typically published |
| Documentation | Full docs portal: installation, configuration, usage for every feature, troubleshooting, a page per module and a developer guide | Varies by vendor |
| Hyvä support | Every storefront surface as Hyvä templates, working under Hyvä's strict Content Security Policy | Varies by vendor |
| PHP / Magento range | PHP 8.1 to 8.5 on Magento Open Source and Adobe Commerce 2.4 | Varies by vendor |

## What makes it different

- **Hyvä-native**: `qoliber/social-login-hyva-suite` adds Hyvä templates for the buttons, the confirmation form and Connected Social Accounts, built with Tailwind for Hyvä 1.3, 1.4 and 1.5.
- **Sign in with Apple, completely**: when Apple sends the shopper back, a guest keeps their cart and the way back to checkout, and a new account gets the name the shopper gave Apple, never one made from a hidden relay email address. Both are tested end to end, the return in Chromium, Firefox and WebKit.
- **No SaaS in between**: the store talks to each provider directly with the credentials you register; no third-party login service sees your customers.

## Good to know

- You create an app (client ID and secret) in each provider's developer console and register the Redirect URI the admin shows you; the module cannot do that part for you.
- Headless and PWA storefronts are not supported: the suite has no GraphQL or REST API, so a headless frontend implements the sign-in flow itself.
- Reddit, TikTok and Pinterest return no email address, and X only with permission: those shoppers type their email on a confirmation form, and it is not verified by the provider.
- Stores that configure more than one GitLab instance (different instance URLs per store view): customers who linked GitLab before 1.3.1 connect it again. Stores using one GitLab instance are not affected; see the [1.3.1 changelog](https://docs.qoliber.com/docs/extensions/marketing/social-login/changelog).

Supports PHP 8.1–8.5 and Magento Open Source / Adobe Commerce 2.4.

[Install Social Login](https://docs.qoliber.com/docs/extensions/marketing/social-login/install) · [Configure it](https://docs.qoliber.com/docs/extensions/marketing/social-login/configuration) · [Partnership and licensing](https://docs.qoliber.com/docs/partnership)
