2021-04-16 01:00:00 +02:00
|
|
|
<?php
|
|
|
|
|
2022-11-12 14:02:22 +01:00
|
|
|
// Social login
|
|
|
|
$facebook = url('/social-auth/facebook/callback');
|
|
|
|
$twitter = url('/social-auth/twitter/callback');
|
|
|
|
$google = url('/social-auth/google/callback');
|
|
|
|
|
2021-04-16 01:00:00 +02:00
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Third Party Services
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| This file is for storing the credentials for third party services such
|
|
|
|
| as Mailgun, Postmark, AWS and more. This file provides the de facto
|
|
|
|
| location for this type of information, allowing packages to have
|
|
|
|
| a conventional file to locate the various service credentials.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'mailgun' => [
|
|
|
|
'domain' => env('MAILGUN_DOMAIN'),
|
|
|
|
'secret' => env('MAILGUN_SECRET'),
|
|
|
|
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
|
|
|
|
],
|
|
|
|
|
|
|
|
'postmark' => [
|
|
|
|
'token' => env('POSTMARK_TOKEN'),
|
|
|
|
],
|
|
|
|
|
|
|
|
'ses' => [
|
|
|
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
|
|
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
|
|
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
|
|
|
],
|
2022-11-12 14:02:22 +01:00
|
|
|
|
2022-11-08 16:11:59 +01:00
|
|
|
'facebook' => [
|
|
|
|
'client_id' => env('FACEBOOK_CLIENT_ID'),
|
|
|
|
'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
|
2022-11-12 14:02:22 +01:00
|
|
|
'redirect' => env('FACEBOOK_CALLBACK_URL', $facebook),
|
2022-11-08 16:11:59 +01:00
|
|
|
],
|
|
|
|
'twitter' => [
|
|
|
|
'client_id' => env('TWITTER_CLIENT_ID'),
|
|
|
|
'client_secret' => env('TWITTER_CLIENT_SECRET'),
|
2022-11-12 14:02:22 +01:00
|
|
|
'redirect' => env('TWITTER_CALLBACK_URL', $twitter),
|
2022-11-08 16:11:59 +01:00
|
|
|
],
|
|
|
|
'google' => [
|
|
|
|
'client_id' => env('GOOGLE_CLIENT_ID'),
|
|
|
|
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
|
2022-11-12 14:02:22 +01:00
|
|
|
'redirect' => env('GOOGLE_CALLBACK_URL', $google),
|
2022-11-08 16:11:59 +01:00
|
|
|
],
|
2021-04-16 01:00:00 +02:00
|
|
|
|
|
|
|
];
|