Meetanshi Docs Magento 2 Google One Tap Sign-in

Google One Tap Sign-in for Magento 2 - User Guide

Extension Installation

For Magento Marketplace Customers

  • Create a folder structure in Magento root as app/code/Meetanshi/ OneTap
  • Download and extract the zip folder and upload our extension files to the app/code/Meetanshi/ OneTap via FTP.
  • Login to your SSH and run below commands step by step:
php bin/magento setup:upgrade 
  • For Magento version 2.0.x to 2.1.x -
php bin/magento setup:static-content:deploy
  • For Magento version 2.2.x & above -
php bin/magento setup:static-content:deploy --f
php bin/magento cache:flush 

For Meetanshi Customers

  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Login to your SSH and run below commands step by step:
php bin/magento setup:upgrade 
  • For Magento version 2.0.x to 2.1.x -
php bin/magento setup:static-content:deploy
  • For Magento version 2.2.x & above -
php bin/magento setup:static-content:deploy --f
php bin/magento cache:flush

Configuration

To configure the Google One Tap Sign-in for Magento 2 extension, login to Magento 2 backend, move to Stores > Configuration > Meetanshi > Google One Tap Sign-in where you can find various settings to configure the extension.

Note: As mentioned in https://developers.google.com/identity/gsi/web/guides/change-position

data-prompt_parent_id attribute is ignored on mobile web browsers and thus, the position you set above will not affect the prompt position in the mobile devices.

Google One Tap Sign-in Prompt in Frontend

Once you have configured the extension successfully, if the user is logged in to the Google account in a browser, he/she can see Google One Tap Sign-in prompt on the Magento 2 Sign-in page in the set position. The Google one tap sign-in prompt contains a link to privacy policy and terms of service if added during configuration of the OAuth consent screen while getting the client ID . Also, it contains a button to continue sign-up or sign-in with the preferred Google account.

  • Google One Tap Login Successful

Immediately after the user selects a Google account to sign-up or login, if the user is new, he will be logged in and redirected to the My Account page and a new customer account is auto created in the Magento 2 backend. If the customer is a returning one, he'll be auto logged in on clicking prompt.

Customer Account Auto Creation in Backend

If the user is new while using the Google one tap sign-in prompt, the customer account is auto created in the Magento 2 admin panel. The admin can see a new customer created under Customers > All Customers grid.

Updated: Mar 4, 2026Top ↑