Update services.php
This commit is contained in:
parent
522f8d0574
commit
186af086b7
|
@ -1,5 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
// Social login
|
||||||
|
$facebook = url('/social-auth/facebook/callback');
|
||||||
|
$twitter = url('/social-auth/twitter/callback');
|
||||||
|
$google = url('/social-auth/google/callback');
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -29,20 +34,21 @@ return [
|
||||||
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
||||||
],
|
],
|
||||||
|
|
||||||
'facebook' => [
|
'facebook' => [
|
||||||
'client_id' => env('FACEBOOK_CLIENT_ID'),
|
'client_id' => env('FACEBOOK_CLIENT_ID'),
|
||||||
'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
|
'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
|
||||||
'redirect' => env('FACEBOOK_CALLBACK_URL'),
|
'redirect' => env('FACEBOOK_CALLBACK_URL', $facebook),
|
||||||
],
|
],
|
||||||
'twitter' => [
|
'twitter' => [
|
||||||
'client_id' => env('TWITTER_CLIENT_ID'),
|
'client_id' => env('TWITTER_CLIENT_ID'),
|
||||||
'client_secret' => env('TWITTER_CLIENT_SECRET'),
|
'client_secret' => env('TWITTER_CLIENT_SECRET'),
|
||||||
'redirect' => env('TWITTER_CALLBACK_URL'),
|
'redirect' => env('TWITTER_CALLBACK_URL', $twitter),
|
||||||
],
|
],
|
||||||
'google' => [
|
'google' => [
|
||||||
'client_id' => env('GOOGLE_CLIENT_ID'),
|
'client_id' => env('GOOGLE_CLIENT_ID'),
|
||||||
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
|
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
|
||||||
'redirect' => env('GOOGLE_CALLBACK_URL'),
|
'redirect' => env('GOOGLE_CALLBACK_URL', $google),
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue