Download the PHP package collab/module-google-one-tap without Composer
On this page you can find all versions of the php package collab/module-google-one-tap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download collab/module-google-one-tap
More information about collab/module-google-one-tap
Files in collab/module-google-one-tap
Package module-google-one-tap
Short Description A Magento 2 module which provides ability to login using Google One Tap
License MIT
Homepage https://github.com/collabpl/magento2-module-google-one-tap
Informations about the package module-google-one-tap
Magento 2 Google One Tap Extension
The Collab_GoogleOneTap gives customers the ability to sign in to your website quickly and securely using their Google account. It is a secure and easy way to log in to your website without the need to remember a password. Module utilizes Collab_CustomerPasswordLessLogin module to create an account or login the user without the need of a password.
Initially module adds the button to the login form only. It is possible to add the button to any other place by following the instructions in the Basic usage section.
Why choose this extension over other solutions?
We don't believe in efficient modules which have tons of options - simple as that - modules which have multiple options, are prepared for many integrations always have some performance footprint for application. Having this in mind we are trying to provide simple, portable and independent modules which require some basic Magento 2 development skills.
PageSpeed
The way that loading external scripts is realized by this module shoudn't by any means impact Your PageSpeed score. As google's script which is essential for providing login functionality is not something that we need to include while rendering the site we are embedding necessary scripts only where it is needed and only after first user interaction so no client resources are used on initial page load.
Prerequistes
client_id
for Google API obtained by this manual- tld domain which controlls Your Magento application, on local environment ONLY app running under
http(s)://localhost
will work (domain needs to be configured within Google's Project in Authorized JavaScript origins field. - once
client_id
is generated and obtained it needs to be set up at Magento in Stores -> Configuration -> Collab Extensions -> Google One Tap
Basic usage
Once You will define desired layout handler just edit it's XML file and add the following code under <page>
node:
Above code will make sure that all necessary scripts are loaded on the page.
Then You can add the button to any place in the layout by referencing desired block/container:
Installation details
All versions of module-google-one-tap with dependencies
google/apiclient Version ^2.0
magento/framework Version ~103.0.0