johnhearfield/flarum-ext-oauth-google
Composer 安装命令:
composer require johnhearfield/flarum-ext-oauth-google
包简介
Allow users to log in with Google.
关键字:
README 文档
README
Allows users to login using their Google Account.
Installation
To install, use composer:
composer require johnhearfield/flarum-ext-oauth-google
Usage
- Install extension via Composer / Packagist
- Enable extension in the admin/extensions of Flarum
- Fill in the settings field for the extension
Setup instructions for Google
- Go to the Google API Console: https://console.developers.google.com/project/_/apiui/apis/library
- Create a new project in the dropdown at the top and give it a name (eg My Flarum)
- Once on the project dashboard, search for Google+ and enable the API
- In the sidebar under "API Manager", select Credentials, then select the OAuth consent screen tab.
- Choose an Email Address, specify a Product Name, and press Save.
- In the Credentials tab, select the New credentials drop-down list, and choose OAuth client ID.
- Select Web Application
- The Authorized Javascript origin will be your domain: http://flarum.example.com
- The Authorised redirect URIs will be http://flarum.example.com/auth/google (notice it ends in /auth/google
- From the resulting OAuth client dialog box, you will be able to access the Client ID and the Client Secret will you will need to paste into the settings box on the Flarum extension
Notice The Hosted Domain paramater is for only allowing emails in your Google Apps account access, otherwise you should leave it blank
johnhearfield/flarum-ext-oauth-google 适用场景与选型建议
johnhearfield/flarum-ext-oauth-google 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.63k 次下载、GitHub Stars 达 10, 最近一次更新时间为 2016 年 06 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Authentication」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 johnhearfield/flarum-ext-oauth-google 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 johnhearfield/flarum-ext-oauth-google 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 johnhearfield/flarum-ext-oauth-google 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Automatically logs-in users if they are already authenticated by a remote source. (e.g. environment variable REMOTE_USER)
GraphQL authentication for your headless Craft CMS applications.
Laravel middleware to restrict a site or specific routes using HTTP basic authentication
Email Toolkit Plugin for CakePHP
A list of dangerous usernames
Simple Laravel signup/login module, with simple user roles.
统计信息
- 总下载量: 2.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-08