承接 glue-agency/m2-glue-auth 相关项目开发

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

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

glue-agency/m2-glue-auth

最新稳定版本:1.0.4

Composer 安装命令:

composer require glue-agency/m2-glue-auth

包简介

Backend Google Sign On for Magento 2

README 文档

README

This is a Magento 2 extension that allows to authenticate into Magento 2 Admin Panel using Google Sign On services.

Installation

Install the extension through composer:

composer require glue-agency/m2-glue-auth

Once Composer finishes installing the dependencies, enable the module:

php bin/magento module:enable GlueAgency_BackendGoogleSignOn

Finally, run the upgrade:

php bin/magento setup:upgrade

Configuration

After the module is installed and enabled, authenticate into Admin Panel and go to STORES > Settings > Configuration > SECURITY > Google Backend Sign On

Here you can turn the module on.

You can also define a set of domain-based rules to automatically assign a role to a user or to force a user to use the Google Sign On.

For example: example.com => create user in Administrators

You also need to set 2 env variables in app/etc/env.php

'google_client_callback_url' => '',//to be set
'glue_encryption_token' => '',//to be set

The callback url may most likely default to: https://oauth.glue.be/oauth/callback

The token you need to retrieve from other projects or bitwarden.

Usage

Once enabled and configured, the extension adds a GLUE Login button in the sign in form of the Admin Panel.

You can authenticate with your Google account and the magento2 admin user will be created in the database and will be logged in automatically.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2023-09-26