xpointo/silverstripe-google-authenticator
Composer 安装命令:
composer require xpointo/silverstripe-google-authenticator
包简介
Adds Google authentication to SilverStripe
README 文档
README
Introduction
This module enables Google authentication on SilverStripe.
It works by matching the email address obtained from Google login with the email address in the SilverStripe user account list, and logs in the user if there is a match.
Requirements
Installation
via composer
composer require "xpointo/silverstripe-google-authenticator:dev-master"
Configuration
- Obtain the Google OAuth Client ID & Client Secret by following the instructions in the Google API Documentation
- For the redirect uris setting in the Google OAuth configuration, please include the URL:
http://[yoursitename]/GoogleAuthenticatorController/callback
- Define the Google OAuth Client ID & Client Secret in your
_ss_environment.phpormysite/config.phpfile.
define('GOOGLE_AUTHENTICATOR_CLIENT_ID', '[google-oauth-client-id]'); define('GOOGLE_AUTHENTICATOR_CLIENT_SECRET', '[google-oauth-client-secret]');
统计信息
- 总下载量: 431
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-02-10