承接 collab/module-google-one-tap 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

collab/module-google-one-tap

最新稳定版本:1.1.0

Composer 安装命令:

composer require collab/module-google-one-tap

包简介

A Magento 2 module which provides ability to login using Google One Tap

README 文档

README

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:

<update handle="collab_googleaccount_script"/>

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:

<referenceContainer name="DESIRED_CONTAINER_NAME">
    <block name="collab.googleonetap.button"
           template="Collab_GoogleOneTap::button/google.phtml"
           before="-"
           ifconfig="collab_googleonetap/general/enabled">
    </block>
</referenceContainer>

Installation details

composer req collab/module-google-one-tap
bin/magento setup:upgrade

统计信息

  • 总下载量: 650
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固