webfactorybulgaria / users
v4.2.1
2018-01-24 12:44 UTC
Requires
- laravel/socialite: ^2.0
- webfactorybulgaria/core: ~4.1.0
- dev-master
- v4.2.1
- v4.2
- v4.1.9
- v4.1.8
- v4.1.7
- v4.1.6
- v4.1.5
- v4.1.4
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- 2.8.3
- 2.8.2
- 2.8.1
- 2.8.0
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.0
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.0
- v2.2.0
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.8.6
- v1.8.5
- 1.8.2
- 1.8.1
- 1.8.0
- dev-dev
This package is not auto-updated.
Last update: 2024-11-09 18:43:37 UTC
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