Magento 2 Social Login Extension

View Demo

Shoppers sign in and register with Google, Facebook, PayPal, Amazon, Yahoo, X or LinkedIn: no form to fill in and no new password. Works on Luma, Hyvä and headless storefronts through GraphQL.

  • Google, Facebook, PayPal, Amazon, Yahoo, X and LinkedIn
  • Buttons on login, registration, popup and checkout sign-in
  • Existing accounts linked by email, no duplicates
  • Social Accounts block in My Account
  • Hyvä built in, headless sign-in via GraphQL
  • Redirect after sign-in
Hyvä
Magento Cloud
GraphQL
WCAG
Mage-OS
Compatible with:
Community:
2.3.* - 2.4.9
Enterprise:
2.3.* - 2.4.9

What does Magento 2 Social Login do?

Magento 2 Social Login lets shoppers sign in and create an account with Google, Facebook, PayPal, Amazon, Yahoo, X (Twitter) or LinkedIn. There is no form to fill in and no new password to remember: the shopper picks an account they already have, and Magento gets their name and email from it.

It works on Luma, on Hyvä and on headless storefronts. Hyvä support is built into the extension, and a PWA or other headless frontend signs shoppers in through GraphQL. The extension supports Magento 2.4.9 and PHP 8.4.

We use it on mirasvit.com ourselves: in 2025, 44% of new customer accounts on our store were created with Google sign-in.

Where the sign-in buttons appear

You choose the places in the settings, per store view:

  • The customer login page, above or below the form
  • The create account page, above or below the form
  • The sign-in popup
  • The "Sign In" step at checkout, so a guest can sign in without leaving the order
  • A Social Accounts block in My Account, where customers see the accounts they have connected, link new ones and unlink them

Show full buttons with the network name or compact round icons, and set the order of the buttons for each network.

One customer, one account

  • Existing customers are linked, not duplicated. If a shopper signs in with Google using the email of an account they already have, the social account is attached to that account instead of creating a second one.
  • No confirmation email to wait for. An account created through a social network is marked as confirmed right away, because the network has already verified the email.
  • Real names and emails. The name and email come from the shopper's Google or Facebook profile, not from a form where people type throwaway addresses.
  • Safe linking. One social account cannot be attached to two customers, and unlinking only works from the customer's own account page.
  • Redirect after sign-in. Send shoppers back to the page they came from, or to one URL you set.

On the settings page, each enabled network shows how many customers use it to sign in.

Headless and Hyvä

If your store uses a standard Magento or Hyvä theme, the extension works out of the box. The headless part matters only for PWA or custom frontends built by developers.

Headless and PWA storefronts

A GraphQL query returns the networks enabled for the store, and a mutation exchanges a one-time sign-in code for a customer token. After the shopper signs in with Google or Facebook, the store redirects only to the storefront URL you whitelist, and the code expires after a short time you set. Accounts are created and linked the same way as on a standard storefront.

Hyvä and Luma in one extension

The same templates serve Luma and Hyvä, so there is no second compatibility package to install and keep in step. On Hyvä, the buttons on the login and registration pages and the Social Accounts block follow the theme's styling.

Setup for each network and for headless sign-in is described in the user manual.

Setting up a network

Each network needs an app in its developer console, for example a Meta app for Facebook login. Paste the app's key and secret into Stores > Configuration > Mirasvit Extensions > Social Login, and copy the Redirect URI that the extension shows next to them into the app. The sign-in buttons and texts are translated into 15 languages.

No hidden fees
Our developers install the extension on your store and configure it for your setup, free of charge.
Lifetime access to source code
Access to free support and updates for 1 year
Updates and support prolongation - $60

Pay today $99 for the first year.

Then $60 for updates and support services per year.

Cancel anytime.

30 days money back guarantee
See it in action!
Pick a quick tutorial to learn about various aspects of this extension
Customer Reviews 2
Earn points for your review about this extension modules. $1 = 10 points
Write Your Own Review

check-circle You submitted your review for moderation.

ZS Verified Buyer
From Reda, Poland
Using the module for almost 1 month
Works as it should
Initially, module had some issues but after contacting support, it has been quickly patched...
Also installed:
Reward Points,  Follow Up Email,  Advanced Product Feeds,  Automatic Related Products,  Order Management,  Dynamic Categories,  AI Assistant and 7 more
Brandon
From United States
Must have
Amazing extension with all essential features.
Manual & Support
Need more help?

Save time by starting your support request online and we'll connect you to an expert.

Frequently asked questions
chevron-down chevron-right

Which social networks can customers sign in with?

Google, Facebook, PayPal, Amazon, Yahoo, X (Twitter) and LinkedIn. You enable each one separately and set the order of the buttons. Each network needs an app in its developer console; the user manual walks through the setup for every network.

chevron-down chevron-right

How do I add Facebook login to Magento 2?

Create an app in the Meta developer console and add Facebook Login to it. In Magento, open Stores > Configuration > Mirasvit Extensions > Social Login > Facebook, enable it and paste the app's key and secret. The extension shows the Redirect URI to copy into the Meta app. The Facebook button then appears in every place you selected for the sign-in buttons.

chevron-down chevron-right

Does it work with Hyvä?

Yes. Hyvä support is built into the extension, so there is no separate compatibility package. On Hyvä, the buttons appear on the login and registration pages and in the Social Accounts block in My Account. After installing or upgrading, rebuild the Hyvä theme styles once.

chevron-down chevron-right

Can I use it on a headless or PWA storefront?

Yes. A GraphQL query returns the enabled networks with their sign-in links, and a mutation exchanges a one-time code for a customer token. The store redirects back only to the storefront URL you whitelist in the settings, so there is no open redirect.

chevron-down chevron-right

Can the sign-in buttons appear on the checkout page?

Yes, on a Luma storefront: they appear in the sign-in step at checkout, so a guest can sign in without leaving the order. Placing the buttons elsewhere on the checkout page, for example under the email field, requires theme customization.

chevron-down chevron-right

What happens if a shopper already has an account with the same email?

The social account is attached to the existing customer account, so the shopper keeps their order history and no duplicate account is created. Customers can see and unlink their connected accounts in My Account.

chevron-down chevron-right

What customer data does the extension store?

The customer's name and email, plus the basic public profile the network returns, such as the profile ID. It does not post to social networks or read friends lists. If the network does not share an email address, the sign-in stops with a message, so every account has an email.

chevron-down chevron-right

Is there a free version?

No. Social Login is a paid extension with one year of support and updates included. You get the full set of networks, Hyvä support built in, headless sign-in through GraphQL, and updates for new Magento and PHP versions.

Changelog
Version 1.4.0Oct 5, 2026
Hyvä support now ships with the extension — The companion package mirasvit/module-social-login-hyva is gone: the sign-in buttons on the login and registration pages and the Social Accounts block in the customer account are part of Social Login itself, and one template now serves Luma and Hyvä alike. There is no second package to find and keep in step, and on a Luma store the Hyvä part simply stays dormant. Composer removes the companion package by itself when you upgrade. On Hyvä, the "Or sign in with" caption still shows above the social buttons, as it did with the companion package.
⚠️ On Hyvä, rebuild the theme styles after upgrading — The Hyvä look of the buttons now comes from this module's own Tailwind source, so run these once after setup:upgrade, then deploy static content as usual:
⚠️ Hyva_MirasvitSocialLogin is gone, not renamed — You only need to act if you referenced it yourself: in a custom di.xml, a layout file, or a deployment script that enables modules by name.
⚠️ If you overrode a template, repoint it — Hyva_MirasvitSocialLogin::login.phtml and Hyva_MirasvitSocialLogin::account/accountList.phtml are now Mirasvit_SocialLogin::login.phtml and Mirasvit_SocialLogin::account/accountList.phtml on both themes. An override at the old path is simply not read, with no error to say so. On Luma, the Mirasvit_SocialLogin/js/login script is replaced by Mirasvit_SocialLogin::js.phtml; a mixin on it is no longer loaded.
Unlinking a social account is now protected against forged requests — The Unlink link in the customer account's Social Accounts block was a plain URL, so a hidden image or link on any page a signed-in customer visited could silently remove their Google or Facebook sign-in. Unlinking now only works through the button in the customer account, with the store's form-key check, on Luma and Hyvä alike. The button looks exactly like the old link.
Social Login configuration page no longer breaks on an unexpected field — If a provider's callback URI field had an unexpected ID or pointed to a provider that does not exist, the whole Stores → Configuration page failed to load. Now only that one row is left empty, and a warning naming the field is written to the log so you can find the cause.
Error on social accounts with no saved profile — A linked social account with no stored profile information caused an "Unable to unserialize value" error. Such accounts now load normally. If the stored profile is corrupted, the error now names the account so you can find and fix it.
Version 1.3.1Sep 14, 2026
Deleting a customer now also clears their linked social-login connections, so a shopper can sign in again with the same Google or Facebook account without being blocked.
Version 1.3.0Jul 7, 2026
Headless / GraphQL social login — Customers can now sign in with Google, Facebook, and your other configured providers from a PWA or headless storefront. A new mstSocialLoginProviders GraphQL query returns the enabled providers and their sign-in URLs, and the mstSocialLogin mutation exchanges the one-time login code for a customer token. Accounts are created and linked exactly as they are in the standard storefront login.
Headless login settings — New Stores → Configuration → Mirasvit → Social Login → GraphQL section with a Headless callback URL field (the only URL the login is allowed to redirect to, so there is no open-redirect risk) and a Nonce lifetime (seconds) field that controls how long a login code stays valid — default 120, automatically clamped to the 60–600 second range.
Compatibility with Magento 2.4.9 and PHP 8.4 — resolved a setup:di:compile deprecation warning that could break compilation.
Faster social-account lookups during login, thanks to a new database index on the social-login account table (applied automatically on setup:upgrade).
Version 1.2.5Apr 21, 2026
Added i18n support for 15 core locales (ar_SA, cs_CZ, de_DE, es_ES, fr_FR, it_IT, ja_JP, nl_NL, pl_PL, pt_BR, pt_PT, sv_SE, tr_TR, uk_UA, zh_Hans_CN)
Version 1.2.4Aug 8, 2025
Redirect to the previous page after login on mobile devices
Reasons to choose Mirasvit
Client focusing and satisfaction

These are our primary. A major portion of our new clients come from referrals from our existing clients. Our professional team of developers, marketers and support staff have invested the best knowledge and experience in the field into our work, so you know you can come back to us again and again.

Remarkable support

One year free and high quality support. We go to great lengths to provide maximum satisfaction with every module you have purchased in our store. By helping you with installation, configuration, answering your every question, we do all our best to eliminate any possible problems.

Risk-free Investment

30-days money back guarantee. If you are not satisfied with our extension performance for any reason, we provide a full refund.

Constant improvements and upgrades

We constantly add new features to all our modules, and are always interested in hearing your opinion and implementing your suggested features in our future developments.

Comprehensive Documentation

We provide an expanded user guide for every aspect of our extension, so you can find answers for all your burning questions.

Unencrypted source code of our products

You can customize extension according to your needs and requirements.

Usability and Performance

The Module is easy to install and upgrade, just follow our step-by-step user guide. Additionally, the extension is ready to use with the Hyvä theme.

Ready for Magento Cloud

No core modifications. The extension has been tested in a Magento Cloud environment and is fully compatible with it.

Loading...