webfactorybulgaria/users
Composer 安装命令:
composer require webfactorybulgaria/users
包简介
README 文档
README
This module is part of TypiCMS, a multilingual CMS based on Laravel 5.
Allowing social login
Google login
Create a Client ID and Client Secret and add this to config/services.php. Also add the variables to the .env file.
'google' => [
'client_id' => env('GOOGLE_ID'),
'client_secret' => env('GOOGLE_SECRET'),
'redirect' => env('GOOGLE_REDIRECT', 'http://'.$_SERVER["HTTP_HOST"].'/social/handle/google')
],
Auth settings
Adjust the correct settings in config/auth.php.
'social_users' => true, // Switches the social logins on and off
'social_guest_register' => false, // Allows guest registration with social login
'social_admin_emails' => env('SOCIAL_ADMIN_EMAILS', ''), // You can add more than one by separating with comma
'social_admin_domains' => env('SOCIAL_ADMIN_DOMAINS', ''), // You can add more than one by separating with comma
统计信息
- 总下载量: 576
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-11