Update services.php
This commit is contained in:
parent
42069cce03
commit
ce627e9a54
|
@ -1,10 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Social login
|
|
||||||
$facebook = url('/social-auth/facebook/callback');
|
|
||||||
$twitter = url('/social-auth/twitter/callback');
|
|
||||||
$google = url('/social-auth/google/callback');
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -38,17 +33,17 @@ return [
|
||||||
'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', $facebook),
|
'redirect' => env('FACEBOOK_CALLBACK_URL'),
|
||||||
],
|
],
|
||||||
'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', $twitter),
|
'redirect' => env('TWITTER_CALLBACK_URL'),
|
||||||
],
|
],
|
||||||
'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', $google),
|
'redirect' => env('GOOGLE_CALLBACK_URL'),
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue