oomphinc/google_oauth
最新稳定版本:1.0.0
Composer 安装命令:
composer require oomphinc/google_oauth
包简介
Authenticate your Drupal 8 site with Google OAuth
README 文档
README
THIS MODULE IS NO LONGER MAINTAINED. Please use the Google Plus Login module on Drupal.org instead. Thank you.
Drupal 8 Google Login
Allows users to log in to your site using their Google account.
Creates a new Drupal account when the Google account is not yet known, unless
site settings disallow user self-registration.
This module requires the google/apiclient composer module, specified in this plugin's composer.json file.
Installation
-
Clone this repository into your site's
/modulesdirectory. -
Install the
google/apiclientcomposer package in your Drupal 8 site with the following command:
$ composer require google/apiclient
-
Create an application in your google developer console. Set up your OAuth consent screen, then generate a credentials set under "Add Credentials > OAuth 2.0 Client ID", type "Web Application".
-
Enter
http://your-site.com/google-authenticateinto the "Authorized redirect URIs" field, and click "Save". -
Download the client ID JSON file and save with the name
google-oauth-secret.jsoninto your site'sprivatedirectory, as configured by thefile_private_pathsetting in your site'ssettings.php. -
Enable the
google_oauthmodule!
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-11